brStick: Broken Stick Stopping Rule

Description Usage Arguments See Also Examples

Description

This function is a criterion for choosing the number of principal components.

Usage

1

Arguments

x

numeric, a vector of the eigenvalues of the principal components.

plot

boolean default is FALSE, toggle plot.

See Also

rbrStick

Examples

1
2
3
4
5
summary(pc.cr <- princomp(USArrests, cor = TRUE))
brStick(pc.cr$sdev ** 2)

# Show plot
brStick(pc.cr$sdev ** 2, plot = TRUE)

alstat/face documentation built on May 11, 2019, 11:29 p.m.