scree: Scree Plot Function

Description Usage Arguments Examples

View source: R/R/scree.R View source: R/scree.R

Description

Takes a princomp object and returns a scree plot using ggplot2

Usage

1
scree(data, cor = TRUE, round = 4, cumulative = TRUE)

Arguments

data

A set of predictor values

cor

Indicates to use correlation for PCA. Defaults to TRUE

round

Rounds the contribution of a PC to a specific number of decimal places. Defaults to 4.

cumulative

Tells scree whether to display the cumulative contribution of PCs or the individual. Defaults to TRUE.

Examples

1
2

seijikoike/pcplot documentation built on May 22, 2019, 10:55 p.m.