Skip to contents

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)