varPercent: Calculate percent variance of eigenvalues for...

View source: R/varPercent.R

varPercentR Documentation

Calculate percent variance of eigenvalues for plot_shiny.mfpca()

Description

Internal method that calculates percent variance of eigenvalues for specified level (1, 2, or total) for plot_shiny.mfpca(). The desired level is passed in as an argument (level = 12 for total) and a list of percent variances is returned.

Usage

varPercent(level, plotObj)

Arguments

level

numeric, 1 or 2 for levels 1 or 2, respectively, 12 to calculate total variance.

plotObj

the mfpca object plotted in the plot_shiny.mfpca() function.

Value

a list of numbers that indicate percent variance for selected level.

Author(s)

Julia Wrobel julia.wrobel@cuanschutz.edu


refund.shiny documentation built on Oct. 11, 2022, 1:05 a.m.