plotScree: Scree Plots of PCA Results for a Spectra Object
Description
Functions to draw a traditional scree plot or an alternative that is perhaps more useful. These illustrate the importance of the components in a PCA analysis.
Usage
plotScree(pca, title = "no title provided", ...)
plotScree2(pca, title = "no title provided", ...)
Arguments
Value
None. Side effect is a plot.
Rdversion
1.1
Details
If you add $method to the PCA results from other packages, this will plot a scree plot for any PCA results, not just those from "Spectra" objects.
References
http://academic.depauw.edu/~hanson/ChemoSpec/ChemoSpec.html
The idea for the alternative style plot came from the NIR-Quimiometria blog by jrcuesta, at http://http://www.r-bloggers.com/pca-for-nir-spectra_part-004-projections/