View source: R/calc-mahalanobis-distance.R
mahalanobis_distance | R Documentation |
Modified version of the code provided in the drawMahal
package
mahalanobis_distance(
x,
x.mean,
x.cov,
whichlines = c(0.975, 0.9, 0.75),
m = 360
)
x |
data |
x.mean |
mean value |
x.cov |
coveriance value |
whichlines |
the confidence values |
m |
the number of values to return for each line |
list containing mdX and mdY values.
Nicholas Hamilton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.