Usage
## S3 method for class 'mcd':
plot(x,
which = c("all", "dd", "distance", "qqchi2",
"tolEllipsePlot", "screeplot"),
classic = FALSE, ask = (which=="all" && dev.interactive()),
cutoff, id.n, labels.id = rownames(x$X), cex.id = 0.75,
label.pos = c(4,2), tol = 1e-7, ...)covPlot(x,
which = c("all", "dd", "distance", "qqchi2",
"tolEllipsePlot", "screeplot"),
classic = FALSE, ask = (which == "all" && dev.interactive()),
m.cov = covMcd(x),
cutoff = NULL, id.n, labels.id = rownames(x), cex.id = 0.75,
label.pos = c(4,2), tol = 1e-07, ...)
Arguments
x
For the plot()
method, a mcd
object, typically
result of covMcd
.
For covPlot()
, the numeric data matrix such as the X
component as returned from which
string indicating which plot to show. See the
Details section for a description of the options. Defaults to "all"
.
classic
whether to plot the classical distances too.
Defaults to FALSE
.
ask
logical indicating if the user should be asked
before each plot, see par(ask=.)
. Defaults to
which == "all" && dev.interactive()
. cutoff
the cutoff value for the distances.
id.n
number of observations to be identified by a label. If
not supplied, the number of observations with distance larger than
cutoff
is used.
labels.id
vector of labels, from which the labels for extreme
points will be chosen. NULL
uses observation numbers.
cex.id
magnification of point labels.
label.pos
positioning of labels, for the left half and right
half of the graph respectively (used as text(.., pos=*)
). tol
tolerance to be used for computing the inverse, see
solve
. Defaults to tol = 1e-7
. m.cov
an object similar to those of class "mcd"
; however
only its components center
and cov
will be used. If
missing, the MCD will be computed (via covMcd()
). ...
other parameters to be passed through to plotting functions.