Learn R Programming

rsvd (version 0.3)

plot.rpca: Screeplot

Description

Creates a screeplpot. By default the explained variance is plotted agaings the number of the principal component. Alternatively the eigenvalues, explained variance ratio or the cumulative explained variance ratio can be plotted.

Usage

"plot"(x, type = c("var", "ratio", "cum", "eigenvals"), ...)

Arguments

x
object containing the sdev component, such as that returned by rpca
type
str c('var', 'ratio', 'cum', 'eigenvals'), optional
...
arguments passed to or from other methods, see plot.
.................
.

See Also

rpca

Examples

Run this code
#

Run the code above in your browser using DataLab