Description Usage Arguments Author(s) See Also Examples
Plots the 0.975 tolerance ellipse of the bivariate data set x
.
The ellipse is defined by those data points whose distance
is equal to the squareroot of the 0.975 chisquare quantile
with 2 degrees of freedom.
1 2 3 4 5 6 7 
x 
a two dimensional matrix or data frame. 
m.cov 
an object similar to those of class 
cutoff 
numeric distance needed to flag data points outside the ellipse. 
id.n 
number of observations to be identified by a label. If
not supplied, the number of observations with distance larger than

classic 
whether to plot the classical distances as well,

tol 
tolerance to be used for computing the inverse, see

xlab, ylab, main 
passed to 
txt.leg, col.leg, lty.leg 
character vectors of length 2 for the
legend, only used if 
Peter Filzmoser, Valentin Todorov and Martin Maechler
covPlot
which calls tolEllipsePlot()
when
desired.
ellipsoidhull
and
predict.ellipsoid
from package cluster.
1 2 3 4 5 6 7 8 9  data(hbk)
hbk.x < data.matrix(hbk[, 1:3])
mcd < covMcd(hbk.x) # compute mcd in advance
## must be a 2dimensional data set: take the first two columns :
tolEllipsePlot(hbk.x[,1:2])
## an "impressive" example:
data(telef)
tolEllipsePlot(telef, classic=TRUE)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.