PCA-class | R Documentation |
An S4 class to store the results of a principal components analysis.
center
A numeric
vector giving the column mean of the initial
dataset (active individuals only).
scale
A 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)
## 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.