Uses the results from aovPCAscores
to plot the corresponding
loadings.
aovPCAloadings(spectra, LM, pca, plot = 1, loads = 1, ref = 1, ...)
An object of S3 class Spectra
.
List of matrices created by aovPCAscores
.
PCA output from aovPCAscores
.
An integer specifying the desired plot. names(LM)
will
show which matrix has which data in it.
An integer vector giving the loadings to plot. More than 3 loadings creates a useless plot using the default graphics window.
An integer specifying the reference spectrum to plot, which appears at the bottom of the plot.
Additional parameters to be passed to plotting functions.
None. Side effect is a plot.
Pinto, Bosc, Nocairi, Barros, and Rutledge. "Using ANOVA-PCA for Discriminant Analysis: ..." Analytica Chimica Acta 629.1-2 (2008): 47-55.
Harrington, Vieira, Espinoza, Nien, Romero, and Yergey. "Analysis of Variance--Principal Component Analysis: ..." Analytica Chimica Acta 544.1-2 (2005): 118-27.
An example using this function can be seen in
aov_pcaSpectra
. See also plotLoadings
.