Description Usage Arguments Details Value Side Effects See Also Examples
Generic plot method for objects with classes “covfm”, “covRob”, and “covClassic”.
1 2 3 4 5 6 |
x |
an oject of class "covClassic", "covRob", or "covfm". |
which.plots |
either "ask", "all", or an integer vector specifying which plots to draw. If which.plots is an integer vector, use the plot numbers given here (or in the "ask" menu). The plot options are (2) Eigenvalues of Covariance Estimate, (3) Sqrt of Mahalanobis Distances, (4) Ellipses Matrix, and (5) Distance - Distance Plot. |
... |
additional arguments are passed to the plot subfunctions. |
The actual plot functions are only implemented for "fit.models" objects. When this method is dispatched on an object of class "cov" or "covRob" the object is cast as a "fit.models" object containing a single element and plotted with plot.covfm
. The actual plotting is done by the subfunctions listed in the See Also section.
x
is invisibly returned.
The requested plots are drawn on a graphics device.
plot
,
covClassic
,
covRob
,
fit.models
,
ddPlot.covfm
,
ellipsesPlot.covfm
,
screePlot.covfm
,
distancePlot.covfm
.
1 2 3 4 5 6 7 8 9 10 11 | data(woodmod.dat)
woodm.cov <- covClassic(woodmod.dat)
woodm.covRob <- covRob(woodmod.dat)
plot(woodm.cov)
plot(woodm.covRob)
woodm.fm <- fit.models(list(Robust = "covRob", Classical = "covClassic"),
data = woodmod.dat)
plot(woodm.fm)
|
Loading required package: fit.models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.