Is there a function that calculate the mahalanobis distance in R . The dist function calculates "euclidean"', '"maximum"', '"manhattan"', '"canberra"', '"binary"' or '"minkowski"'. Thanks ../Murli
See (surprising enough) ?mahalanobis... Andy> From: Murli Nair > > Is there a function that calculate the mahalanobis distance in R . > The dist function calculates "euclidean"', '"maximum"', > '"manhattan"', > '"canberra"', > '"binary"' or '"minkowski"'. > Thanks ../Murli > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
Dear Murli,
Try ?mahalanobis, which, by the way, is turned up by
help.search("mahalanobis").
I hope this helps,
John
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Murli Nair
> Sent: Sunday, September 12, 2004 3:17 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] mahalanobis distance
>
> Is there a function that calculate the mahalanobis distance in R .
> The dist function calculates "euclidean"',
'"maximum"',
> '"manhattan"', '"canberra"',
'"binary"' or '"minkowski"'.
> Thanks ../Murli