View source: R/mahalanobisDist.R
Calculates Mahalanobis distance between the groups centroids median position.
1 |
data |
is a matrix containing point positions. The matrix has two columns. Each row of the matrix gives one point. |
group |
is a vector specifying the group each point belongs to. Notice that this method calculates distances of two groups by a time. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.