Shows a set of plots (scores, loadings, residuals and explained variance) for PCA model.
# S3 method for pca
plot(x, comp = c(1, 2), show.labels = FALSE,
show.legend = TRUE, ...)
a PCA model (object of class pca
)
vector with two values - number of components to show the scores and loadings plots for
logical, show or not labels for the plot objects
logical, show or not a legend on the plot
other arguments
See examples in help for pca
function.