Learn R Programming

⚠️There's a newer version (0.1-38) of this package.Take me there.

refund (version 0.1-8)

refund: Regression with Functional Data

Description

Methods for regression for functional data, including function-on-scalar, scalar-on-function, and function-on-function regression. Some of the functions are applicable to image data.

Copy Link

Version

Install

install.packages('refund')

Monthly Downloads

4,424

Version

0.1-8

License

GPL (>= 2)

Maintainer

Lei Huang

Last Published

July 18th, 2013

Functions in refund (0.1-8)

fitted.pffr

Obtain fitted values for a pffr fit
fpcr

Functional principal component regression
fbps

Sandwich smoother for matrix data
wcr/wnet.perm

Permutation test for wavelet-domain scalar-on-function regression
expand.call

Return call with all possible arguments
fpca2s

Functional principal component analysis by a two-stage method
ccb.fpc

Corrected confidence bands using functional principal components
fosr

Function-on-scalar regression
coefboot.pffr

Simple bootstrap CIs for pffr
lofocv

Leave-one-function-out cross-validation
wnet

Generalized elastic net in the wavelet domain
PEER.Sim, Q

Simulated longitudinal data with functional predictor and scalar response, and structural information associated with predictor function
ffpc

Construct a PC-based function-on-function regression term
smooth.construct.pcre.smooth.spec

mgcv-style constructor for PC-basis functional random effects
gasoline

Octane numbers and NIR spectra of gasoline
pffrSim

Simulate example data for pffr
rlrt.pfr

Likelihood Ratio Test and Restricted Likelihood Ratio Test for inference of functional predictors
fosr.perm

Permutation testing for function-on-scalar regression
lf

Construct an FLM regression term
smooth.construct.pss.smooth.spec

P-spline constructor with modified 'shrinkage' penalty
DTI2

Diffusion Tensor Imaging: more fractional anisotropy profiles and outcomes
print.summary.pffr

Print method for summary of a pffr fit
predict.pfr

Prediction for penalized functional regression
peer

Functional Models with Structured Penalties
plot.fosr

Default plotting of function-on-scalar regression objects
residuals.pffr

Obtain residuals for a pffr fit
lpfr

Longitudinal penalized functional regression
fpca.ssvd

Smoothed FPCA via iterative penalized rank one SVDs.
fpca.sc

Functional principal components analysis by smoothed covariance
pfr

Penalized functional regression and Longitudinal penalized functional regression
fpca.face

Functional principal component analysis with fast covariance estimation
pffr

Penalized function-on-function regression
cd4

Observed CD4 cell counts
predict.fgam

Prediction from a fitted FGAM model
plot.wcr/wnet

Default plotting for wavelet-domain scalar-on-function regression
pcre

pffr-constructor for functional principal component-based functional random effects.
refund-package

Regression with Functional Data
pwcv

Pointwise cross-validation for function-on-scalar regression
pffrGLS

Penalized function-on-function regression with non-i.i.d. residuals
ff

Construct a function-on-function regression term
fosr2s

Two-step function-on-scalar regression
fgam

Functional Generalized Additive Models
model.matrix.pffr

Obtain model matrix for a pffr fit
plot.pffr

Plot a pffr fit
amc

Additive model with constraints
summary.pffr

Summary for a pffr fit
sff

Construct a smooth function-on-function regression term
wcr

Principal component regression and partial least squares in the wavelet domain
predict.pffr

Prediction for penalized function-on-function regression
vis.fgam

Visualization of FGAM objects
refund-internal

Internal functions for the refund package
ffpcplot

Plot PC-based function-on-function regression terms
plot.peer

Plotting of estimated regression functions obtained through peer()
predict.wnet

Prediction method for generalized elastic net in the wavelet domain
DTI

Diffusion Tensor Imaging: fractional anisotropy profiles and outcomes
af

Construct an FGAM regression term
coef.pffr

Get estimated coefficients from a pffr fit
lpeer

Longitudinal Functional Models with Structured Penalties
plot.fpcr

Default plotting for functional principal component regression output
plot.lpeer

Plotting of estimated regression functions obtained through lpeer()