Learn R Programming

mdatools (version 0.5.3)

plotCumVariance.pca: Cumulative explained variance plot for PCA

Description

Shows a plot with cumulative explained variance for components.

Usage

## S3 method for class 'pca':
plotCumVariance(obj, xlab = "Components",
  ylab = "Explained variance, \%", main = "Cumulative variance", ...)

Arguments

obj
a PCA model (object of class pca)
main
main title for the plot
xlab
label for x axis
ylab
label for y axis
...
other plot parameters (see mdaplotg for details)

Details

See examples in help for pca function.