Description Usage Arguments Details Value Author(s) References See Also Examples
The Mahalanobis distance between two groups of vectors
1 |
data |
A matrix with columns representing features (or variables) and rows representing independent samples |
groups |
A factor or logical vector with length equal to the number of rows
(samples) in the |
method |
A character string determining the method that should be used to
estimate the covariance matrix. The default value of " |
The Mahalanobis distance between two groups of vectors is the distance between their centers, computed in the equivalent of a principal component space that accounts for different variances.
Returns a numeric vector of length 1.
Kevin R. Coombes krc@silicovore.com, P. Roebuck proebuck@mdanderson.org
Mardia, K. V. and Kent, J. T. and Bibby, J. M.
Multivariate Analysis.
Academic Press, Reading, MA 1979, pp. 213–254.
1 2 3 4 5 |
[,1]
[1,] 2.58538
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.