plot.pca: Show (s)pca explained variance plots

View source: R/S3methods-plot.R

plot.pcaR Documentation

Show (s)pca explained variance plots

Description

Show (s)pca explained variance plots

Usage

## S3 method for class 'pca'
plot(x, ncomp = NULL, type = "barplot", ...)

Arguments

x

A (s)pca object

ncomp

Integer, the number of components

type

Character, default "barplot" or any other type available in plot, as "l","b","p",..

...

Not used

Author(s)

Kim-Anh LĂȘ Cao, Florian Rohart, Leigh Coonan, Al J Abadi


mixOmicsTeam/mixOmics documentation built on Nov. 4, 2024, 8:56 a.m.