Description Usage Arguments Value See Also Examples
This function calculates centroid for each individual and sums distances of samples from centroid for that particular individual. When the within individual sum of distances is known for each individual, it calculates their mean. Euclidean distances are used.
1 |
df |
A data frame with the first column indicating individual identity. |
Numeric. Average within individual distance in dataset.
Other calcHM support function: calcDistT
,
calcMeanVec
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.