Description Usage Arguments Details Value See Also
Calculates the distance between every point in a cluster and the mean/centroid of that cluster. The mahalanobis distance can be interpreted as how many standard deviations away is the point from the mean. The value also takes into account dimensions where there is not much variability, resulting in a larger distance value if points vary in the aforementioned dimensions.
1 2 | internal_mahalanobis_distance(matrix_1, distance = "euclidean",
output = "mean")
|
matrix_1 |
Data for cluster 1. Cell by reduced dimension components |
distance |
Point to point distance method to use. e.g. 'euclidean'. |
output |
Can be either "mean" or "raw". mean will return the mean of all the distances from the centroid. Raw will return a vector of all the distances from every point to the centroid. |
Can either output an entire list of all the distances to the centroid or a mean of the distances. Used to measure how dispersed all the points in a cluster are.
Mahalanobis distance
Other internal_distance: InternalDistance
,
internal_distance
,
internal_linkage_distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.