PCA.PlotLoadings: Loadings plot for the results of PCA.Calculate

Description Usage Arguments Value Note Author(s) Examples

Description

Allows the user to plot a loadings plot for two components.

Usage

1
PCA.PlotLoadings(pr.object, pcs = c(1, 2))

Arguments

pr.object

The result of PCA.Calculate.

pcs

Which principal components to use for plotting (eg. "1,2")

Value

Only the plot is returned.

Note

Output of ASCA.Calculate is required.

Author(s)

Tim Dorscheidt

Examples

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")

MetStaT documentation built on May 2, 2019, 1:45 p.m.