ggscreeplot: Pretty Screeplot

Description Usage Arguments Author(s) See Also Examples

View source: R/ggscreeplot.R

Description

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

Usage

1
ggscreeplot(rpcaObj, type = c("var", "ratio", "cum", "eigenvals"))

Arguments

rpcaObj

Object returned by the rpca function.

type

String c('var', 'ratio', 'cum', 'eigenvals'), optional.

Author(s)

N. Benjamin Erichson, erichson@berkeley.edu

See Also

rpca, ggplot

Examples

1
#

rsvd documentation built on April 16, 2021, 9:06 a.m.

Related to ggscreeplot in rsvd...