Learn R Programming

refund.shiny

Interactive plots of functional data analyses.

The primary function is plot_shiny, which calls other functions depending on the class of the object. The supported classes are fpca for functional principal components analyses, mfpca for multilevel FPCA, lfpca for longitudinal FPCA, and fosr for function-on-scalar regression.

This paper describes the functionality in the package in detail.


Installation

To install the latest version directly from Github, please use:

Copy Link

Version

Install

install.packages('refund.shiny')

Monthly Downloads

345

Version

1.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Julia Wrobel

Last Published

October 15th, 2025

Functions in refund.shiny (1.1)

savePlot

Save Plot Object as .RData file
savePDF

Save Plot Object as PDF
plot_shiny.mfpca

Interactive Plotting for Multilevel Functional Principal Component Analysis
plot_shiny.registration

Interactive Plotting for Registration Objects
varPercent

Calculate percent variance of eigenvalues for plot_shiny.mfpca()
tabPanelModule

download Plot as PDF or ggplot Object, modularized server
tabPanelModuleUI

modularized UI for creating a new tab
mfpcaCalls

Create input calls for plot_shiny.mfpca()
thin_functional_data

Thin functional data
make_muPC

Create muPC plot for FPCA panels
getWidth

Get spaces between timepoints as widths for binary registration lasagna plot.
fMBD

fast modified band depth calculation for fda Method for fast modified band depth (fMBD) calculation
as_refundObj

Convert data to refund objects for use in functional data analyses
combinat

internal function from 'fda' package
downloadModuleUI

download Plot as PDF or ggplot Object, modularized UI
createInputCall

Create input calls for plot_shiny.fosr()
as_refundObj.matrix

Convert matrices to dataframes for use in functional data analyses
bakeLasagna

Create side-by-side lasagna plot and density plot
createInvLink

Return inverse link function for plot_shiny.fpca()
downloadModule

download Plot as PDF or ggplot Object, modularized server
outliers

Identifies outliers for plot_shiny.fosr()
plot_shiny.flcm

Interactive Plotting for Functional Linear Concurrent regression
plot_shiny.fosr

Interactive Plotting for Functional-on-Scalar Regressions
makeLasagna

Pre-process data for lasagna plot
make_linCom

Create lincom plot for FPCA panels
plot_shiny.fpca

Interactive Plotting for Functional Principal Component Analysis
plot_shiny.lfpca

Interactive Plotting for Longtiudinal Functional Data Analysis using FPCA
plot_shiny

plot_shiny The generic function for interactive plots of functional data analyses
registerLasagna

Create lasagna plot for unregistered and registered data