plot_eval: functions for cumulative eigenvalue and eigenvalue plots

View source: R/plot_eval.R

plot_evalR Documentation

functions for cumulative eigenvalue and eigenvalue plots

Description

functions for cumulative eigenvalue and eigenvalue plots

Usage

plot_eval(eval, PCs)

Arguments

eval

vector of eigenvalues

PCs

number of Principle components to draw chart

Author(s)

Byungju Kim (bjk@inu.ac.kr)

Examples

PCA<-prcomp(iris[,1:4])
plot_eval(PCA$sdev^2,3)

airbj31/BKlibR documentation built on Nov. 30, 2022, 7:50 p.m.