| PCA-class | R Documentation |
An S4 class to store the results of a principal components analysis.
centerA numeric vector giving the column mean of the initial
dataset (active individuals only).
scaleA numeric vector giving the column standard deviations of the
initial dataset (active individuals only).
This class inherits from MultivariateAnalysis.
N. Frerebeau
Other class:
BootstrapCA-class,
BootstrapPCA-class,
CA-class,
MCA-class,
MultivariateAnalysis,
MultivariateBootstrap,
MultivariateResults,
MultivariateSummary,
PCOA-class
## Load data
data("iris")
## Compute principal components analysis
X <- pca(iris, sup_quali = "Species")
## Get eigenvalues
get_eigenvalues(X)
## Get individual cos2
head(get_cos2(X, margin = 1))
## Get variable contributions
get_contributions(X, margin = 2)
## Get correlations between variables and dimensions
get_correlations(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.