Description Usage Arguments Value See Also
Uses data from two matricies, representing a cluster each and calculates the mahalanobis distance between each cluster.
The mahalanobis distance is the distance between the means of two clusters, scaled by the covariance of the two groups.
1 | mahalanobis_distance(matrix_1, matrix_2, distance = "euclidean")
|
matrix_1 |
Data for cluster 1. Cell by reduced dimension components |
matrix_2 |
Data for cluster 2 . Cell by reduced dimension components |
distance |
Point to point distance method to use. e.g. 'euclidean'. |
Real positive number representing the distance.
Other cluster_distance: average_linkage_distance
,
centroid_linkage_distance
,
complete_linkage_distance
,
single_linkage_distance
,
ward_distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.