Description Usage Arguments Value Author(s) See Also Examples
Barplot of component inertia percentage for Principal Component Analysis (PCA)
1 | plotInertia(acp, ncp = 5, ...)
|
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'). |
Barplot of component inertia percentage
Nicolas Servant, Eleonore Gravier, Pierre Gestraud, Cecile Laurent, Caroline Paccard, Anne Biton, Jonas Mandel, Bernard Asselain, Emmanuel Barillot, Philippe Hupe
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.