Creates a set plots useful for comparing fitted principal components models
stored in a class fit.models object belonging to virtual class pcompfm.
The plot options are (2) scatterplot of components, (3) loadings, and (4)
variances.
a fit.models object belonging to virtual class pcompfm.
OPTIONAL ARGUMENTS:
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 in the description above (or in the "ask" menu).
spcomps
an integer vector specifying which componets to include in the Scatter
Plot. The default ("Auto") is to display the components with the 5 largest
standard deviations (or all the components if there are less than 5).
VALUE:
x is returned invisibly.
SIDE EFFECTS:
The selected plots are drawn on a graphics device.
SEE ALSO:
,
.
EXAMPLES:
wood.pc <- princomp(woodmod.dat)
wood.rob <- princompRob(woodmod.dat)
# wood.fm is a fit.models object with virtual class pcompfm:
wood.fm <- fit.models(wood.rob, wood.pc)
plot(wood.fm)