Description Usage Arguments Examples
Plot PCA loadings for Raman
1 2 | plotRamanLoading(PCA, ncomp = 1:6, xlab = "Raman shift (1/cm)",
ylab = "loading", ...)
|
PCA |
output variable from |
ncomp |
a vector of number of components |
ylab |
y-axis label |
... |
additional arguments for |
1 2 3 4 5 | data(raman)
PCA <- prcomp(raman)
plotRamanLoading(PCA)
plotRamanLoading(PCA, ncomp = 1:2) # display only the first two components
plotRamanLoading(PCA, ncomp = c(1,3)) # display only the first and the third component
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.