For 2-dimensional data a scatterplot is made. Additionally, ellipses corresponding to certain Mahalanobis distances and quantiles of the data are drawn.

1 2 |

`x` |
numeric data frame or matrix with 2 columns |

`center` |
vector of length 2 with multivariate center of x |

`covariance` |
2 by 2 covariance matrix of x |

`quantile` |
vector of quantiles for the Mahalanobis distance |

`m` |
number of points where the ellipses should pass through |

`lwdcrit` |
line width of the ellipses |

`...` |
additional graphics parameters, see |

For multivariate normally distributed data, a fraction of 1-quantile of data should be outside the ellipses. For center and covariance also robust estimators, e.g. from the MCD estimator, can be supplied.

A scatterplot with the ellipses is generated.

Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton, FL, 2009.

`covMcd`

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.