plotInertia: Barplot of component inertia percentage for PCA

Description Usage Arguments Value Author(s) See Also Examples

View source: R/pca.R

Description

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

Usage

1
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)

Nicolas Servant, Eleonore Gravier, Pierre Gestraud, Cecile Laurent, Caroline Paccard, Anne Biton, Jonas Mandel, Bernard Asselain, Emmanuel Barillot, Philippe Hupe

See Also

runPCA,PCA

Examples

1
2
3
4
5
6
7
8
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)

EMA documentation built on March 26, 2020, 8:40 p.m.