scree_plot: Scree plot

Description Usage Arguments Examples

View source: R/viz.R

Description

Scree plot

Usage

1
scree_plot(singular_values, title = "")

Arguments

singular_values

Numeric. The singluar values.

title

String. The title of the plot.

Examples

1
2
3
X <- matrix(rnorm(n=10*20), nrow=20, ncol=10) + matrix(1, nrow=20, ncol=10)
singluar_values <- svd(X)[['d']]
scree_plot(singluar_values)

idc9/r_jive documentation built on Oct. 20, 2020, 4:23 p.m.