Learn R Programming

mdatools (version 0.7.0)

plot.pca: Model overview plot for PCA

Description

Shows a set of plots (scores, loadings, residuals and explained variance) for PCA model.

Usage

"plot"(x, comp = c(1, 2), show.labels = F, show.legend = T, ...)

Arguments

x
a PCA model (object of class pca)
comp
vector with two values - number of components to show the scores and loadings plots for
show.labels
logical, show or not labels for the plot objects
show.legend
logical, show or not a legend on the plot
...
other arguments

Details

See examples in help for pca function.