ggscreeplot: Screeplot for Principal Components

Description Usage Arguments

View source: R/multivariate_ggvis_ggscreeplot.R

Description

Screeplot for Principal Components

Usage

1
ggscreeplot(pcobj, type = c("pev", "cev", "both"))

Arguments

pcobj

an object returned by prcomp() or princomp()

type

the type of scree plot. 'pev' corresponds proportion of explained variance, i.e. the eigenvalues divided by the trace. 'cev' corresponds to the cumulative proportion of explained variance, i.e. the partial sum of the first k eigenvalues divided by the trace.


inbo/inboggvegan documentation built on May 28, 2019, 9:55 p.m.