Learn R Programming

refund.shiny (version 0.2.0)

mfpcaCalls: Create input calls for plot_shiny.mfpca()

Description

Internal method that constructs the input calls for plot_shiny.mfpca(). The number of sliders to construct for each level is passed as an argument, and corresponding sliders for each FPC are constructed.

Usage

mfpcaCalls(plot.npc, plotObj, percents)

Arguments

plot.npc
list of 2 numeric entries giving number of sliders at each level
plotObj
the mfpca object plotted in the plot_shiny.mfpca() function.
percents
the percent variance calculated for each eigen values for levels 1 and 2.

Value

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