1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
\name{plot.covfm}
\alias{plot.covfm}
\alias{plot.covRob}
\alias{plot.covClassic}
\title{
Plot Method
}
\description{
Generic plot method for objects with classes \dQuote{covfm}, \dQuote{covRob}, and \dQuote{covClassic}.
}
\usage{
\method{plot}{covfm}(x, which.plots = c(4, 3, 5), \dots)
\method{plot}{covRob}(x, which.plots = c(4, 3, 5), \dots)
\method{plot}{covClassic}(x, which.plots = c(4, 3, 5), \dots)
}
\arguments{
\item{x}{an oject of class "covClassic", "covRob", or "covfm".}
\item{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.}
\item{\dots}{additional arguments are passed to the plot subfunctions.}
}
\value{
\code{x} is invisibly returned.
}
\section{Side Effects}{
The requested plots are drawn on a graphics device.
}
\details{
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 \code{plot.covfm}. The actual plotting is done by the subfunctions listed in the See Also section.
}
\seealso{
\code{\link{plot}},
\code{\link{covClassic}},
\code{\link{covRob}},
\code{\link[fit.models]{fit.models}},
\code{\link{ddPlot.covfm}},
\code{\link{ellipsesPlot.covfm}},
\code{\link{screePlot.covfm}},
\code{\link{distancePlot.covfm}}.
}
\examples{
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)
}
\keyword{methods}
\keyword{hplot}
|