plotInertia {EMA}R Documentation

Barplot of component inertia percentage for PCA

Description

Barplot of component inertia percentage for Principal Component Analysis (PCA)

Usage

plotInertia(acp, ncp = 5, ...)

Arguments

acp

result from do.pca or PCA function

ncp

number of components displayed, by default 5

...

Arguments to be passed to methods, such as graphical parameters (see 'par').

Value

Barplot of component inertia percentage

Author(s)

EMA group

See Also

runPCA,PCA

Examples

data(marty)

## PCA on sample - example set
example.subset <- marty[1:100,]
pca <- runPCA(t(example.subset), verbose = FALSE, plotInertia = FALSE, plotSample = FALSE)

## Inertia plot of PCA object
plotInertia(pca)

[Package EMA version 1.3.2 Index]