Description Usage Arguments Value Note Author(s) Examples
Allows the user to plot a loadings plot for two components.
1 | PCA.PlotLoadings(pr.object, pcs = c(1, 2))
|
pr.object |
The result of PCA.Calculate. |
pcs |
Which principal components to use for plotting (eg. "1,2") |
Only the plot is returned.
Output of ASCA.Calculate is required.
Tim Dorscheidt
1 2 3 4 5 6 7 | ##Plot selected loadings after doing PerformAsca
## use the data matrix, 'ASCAX', and an experimental design matrix, 'ASCAF'.
data(ASCAdata)
ASCA <- ASCA.Calculate(ASCAX, ASCAF, equation.elements = "1,2,12", scaling = TRUE)
## plot the loadings of the first two principal components of the first factor
ASCA.PlotLoadings(ASCA, ee = "1", pcs="1,2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.