screeplot.principal_components: Screeplot for principal_components object

Description Usage Arguments Value Examples

View source: R/PCA.R

Description

Screeplot for principal_components object

Usage

1
2
## S3 method for class 'principal_components'
screeplot(x, ..., threshold = -1)

Arguments

x

An object of class "principal_components"

...

generic arguments

threshold

A threshold that you desire the components to cross, will be plotted if value given

Value

A screeplot showing the weighting and cumulative weighting of the components

Examples

1
2
pca_iris <- pca(iris[,-5], FALSE, 0.95)
screeplot(pca_iris)

eenticott/PCA documentation built on Jan. 10, 2021, 4:40 p.m.