plotPCAvariance: Create the explained variance plot from a PCA

View source: R/analysis_dimReduction_pca.R

plotPCAvarianceR Documentation

Create the explained variance plot from a PCA

Description

Create the explained variance plot from a PCA

Usage

plotPCAvariance(pca)

Arguments

pca

prcomp object

Value

Plot variance as an highchart object

See Also

Other functions to analyse principal components: calculateLoadingsContribution(), performPCA(), plotPCA()

Examples

pca <- prcomp(USArrests)
plotPCAvariance(pca)

nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.