Learn R Programming

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

fda (version 2.4.0)

Functional Data Analysis

Description

These functions were developed to support functional data analysis as described in Ramsay, J. O. and Silverman, B. W. (2005) Functional Data Analysis. New York: Springer. They were ported from earlier versions in Matlab and S-PLUS. An introduction appears in Ramsay, J. O., Hooker, Giles, and Graves, Spencer (2009) Functional Data Analysis with R and Matlab (Springer). The package includes data sets and script files working many examples including all but one of the 76 figures in this latter book. Matlab versions of the code and sample analyses are no longer distributed through CRAN, as they were when the book was published. For those, ftp from http://www.psych.mcgill.ca/misc/fda/downloads/FDAfuns/ There you find a set of .zip files containing the functions and sample analyses, as well as two .txt files giving instructions for installation and some additional information.

Copy Link

Version

Install

install.packages('fda')

Monthly Downloads

17,533

Version

2.4.0

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

October 18th, 2013

Functions in fda (2.4.0)

CanadianWeather

Canadian average annual weather cycle
arithmetic.fd

Arithmetic on functional data ('fd') objects
cor.fd

Correlation matrix from functional data object(s)
basisfd.product

Product of two basisfd objects
as.POSIXct1970

as.POXIXct for number of seconds since the start of 1970.
Fstat.fd

F-statistic for functional linear regression.
register.fd

Register Functional Data Objects Using a Continuous Criterion
fRegress.stderr

Compute Standard errors of Coefficient Functions Estimated by Functional Regression Analysis
plot.pca.fd

Plot Functional Principal Components
argvalsy.swap

Swap argvals with y if the latter is simpler.
polygpen

Polygonal Penalty Matrix
create.bspline.basis

Create a B-spline Basis
tperm.fd

Permutation t-test for two groups of functional data objects.
eval.penalty

Evaluate a Basis Penalty Matrix
fRegress.CV

Computes Cross-validated Error Sum of Integrated Squared Errors for a Functional Regression Model
onechild

growth in height of one 10-year-old boy
checkDims3

Compare dimensions and dimnames of arrays
CRAN

Test if running as CRAN
expon

Exponential Basis Function Values
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
eval.basis

Values of Basis Functions or their Derivatives
is.Lfd

Confirm Object has Class "Lfd"
powerbasis

Power Basis Function Values
StatSciChinese

Statistical Science in Chinese
fdaMatlabPath

Add 'fdaM' to the Matlab path
bsplinepen

B-Spline Penalty Matrix
landmark.reg.expData

Experiment data for landmark registration and alignment
objAndNames

Add names to an object
eval.monfd

Values of a Monotone Functional Data Object
ReginaPrecip

Regina Daily Precipitation
create.power.basis

Create a Power Basis Object
file.copy2

Copy a file with a default 'to' name
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
lmWinsor

Winsorized Regression
wtcheck

Check a vector of weights
fRegress

Functional Regression Analysis
as.fd

Convert a spline object to class 'fd'
odesolv

Numerical Solution mth Order Differential Equation System
Data2fd

Create a functional data object from data
exponentiate.fd

Powers of a functional data ('fd') object
fd2list

Convert a univariate functional data object to s list
monfn

Evaluates a monotone function
checkLogicalInteger

Does an argument satisfy required conditions?
ppBspline

Convert a B-spline function to piece-wise polynomial form
predict.lmWinsor

Predict method for Winsorized linear model fits
var.fd

Variance, Covariance, and Correlation Surfaces for Functional Data Object(s)
monomialpen

Evaluate Monomial Roughness Penalty Matrix
arithmetic.basisfd

Arithmatic on functional basis objects
gait

Hip and knee angle while walking
geigen

Generalized eigenanalysis
is.fdPar

Confirm Object has Class "fdPar"
getbasisrange

Extract the range from a basis object
pca.fd

Functional Principal Components Analysis
pda.fd

Principal Differential Analysis
phaseplanePlot

Phase-plane plot
svd2

singular value decomposition with automatic error handling
center.fd

Center Functional Data
readHMD

Download data from the Human Mortality Database (HMD)
create.polynomial.basis

Create a Polynomial Basis
eval.fd

Values of a Functional Data Object
matplot

Plot Columns of Matrices
plot.fd

Plot a Functional Data Object
summary.Lfd

Summarize a Linear Differential Operator Object
norder

Order of a B-spline
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
TaylorSpline

Taylor representation of a B-Spline
cca.fd

Functional Canonical Correlation Analysis
bifd

Create a bivariate functional data object
create.monomial.basis

Create a Monomial Basis
plotfit

Plot a Functional Data Object With Data
monomial

Evaluate Monomial Basis
df.residual.fRegress

Degress of Freedom for Residuals from a Functional Regression
vec2Lfd

Make a Linear Differential Operator Object from a Vector
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
nondurables

Nondurable goods index
exponpen

Exponential Penalty Matrix
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
Lfd

Define a Linear Differential Operator Object
create.constant.basis

Create a Constant Basis
fda-package

Functional Data Analysis in R
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
MontrealTemp

Montreal Daily Temperature
fourier

Fourier Basis Function Values
bifdPar

Define a Bivariate Functional Parameter Object
dirs

Get subdirectories
create.exponential.basis

Create an Exponential Basis
fdPar

Define a Functional Parameter Object
symsolve

solve(A, B) where A is symmetric
fd

Define a Functional Data Object
coef.fd

Extract functional coefficients
inprod.bspline

Compute Inner Products B-spline Expansions.
fourierpen

Fourier Penalty Matrix
getbasismatrix

Values of Basis Functions or their Derivatives
is.fd

Confirm Object has Class "fd"
inprod

Inner products of Functional Data Objects.
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
infantGrowth

Tibia Length for One Baby
linmod

Fit Fully Functional Linear Model
lambda2gcv

Compute GCV Criterion
register.fd0

Correct for initial position error between functional data objects.
project.basis

Approximate Functional Data Using a Basis
eval.bifd

Values a Two-argument Functional Data Object
lmeWinsor

Winsorized Regression with mixed effects
mean.fd

Mean of Functional Data
dateAccessories

Numeric and character vectors to facilitate working with dates
quadset

Quadrature points and weights for Simpson's rule
growth

Berkeley Growth Study data
refinery

Reflux and tray level in a refinery
is.basis

Confirm Object is Class "Basisfd"
summary.bifd

Summarize a Bivariate Functional Data Object
smooth.pos

Smooth Data with a Positive Function
Eigen

Eigenanalysis preserving dimnames
int2Lfd

Convert Integer to Linear Differential Operator
lip

Lip motion
create.polygonal.basis

Create a Polygonal Basis
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
knots.fd

Extract the knots from a function basis or data object
melanoma

melanoma 1936-1972
lmWinsor12

Support functions for lmWinsor
predict.fRegress

Predict method for Functional Regression
smooth.basis

Construct a functional data object by smoothing data using a roughness penalty
smooth.morph

Estimates a Smooth Warping Function
polyg

Polygonal Basis Function Values
sd.fd

Standard Deviation of Functional Data
residuals.fRegress

Residuals from a Functional Regression
smooth.fd

Smooth a Functional Data Object Using an Indirectly Specified Roughness Penalty
summary.fd

Summarize a Functional Data Object
seabird

Sea Bird Counts
plotbeta

Plot a functional parameter object with confidence limits
smooth.fdPar

Smooth a functional data object using a directly specified roughness penalty
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
zerofind

Does the range of the input contain 0?
plot.lmWinsor

lmWinsor plot
sum.fd

Sum of Functional Data
predict.lmeWinsor

Predict method for Winsorized linear model fits with mixed effects
deriv.fd

Compute a Derivative of a Functional Data Object
is.fdSmooth

Confirm Object has Class "fdSmooth"
plot.Lfd

Plot a Linear Differential Operator Object
pinch

pinch force data
Fperm.fd

Permutation F-test for functional linear regression.
smooth.monotone

Monotone Smoothing of Data
summary.fdPar

Summarize a Functional Parameter Object
CSTR

Continuously Stirred Tank Reactor
as.array3

Reshape a vector or array to have 3 dimensions.
axisIntervals

Mark Intervals on a Plot Axis
bsplineS

B-spline Basis Function Values
df2lambda

Convert Degrees of Freedom to a Smoothing Parameter Value
eval.posfd

Evaluate a Positive Functional Data Object
intensity.fd

Intensity Function for Point Process
plotscores

Plot Principal Component Scores
powerpen

Power Penalty Matrix
summary.basisfd

Summarize a Functional Data Object
fdlabels

Extract plot labels and names for replicates and variables
lines.fd

Add Lines from Functional Data to a Plot
landmarkreg

Landmark Registration of Functional Observations
pda.overlay

Stability Analysis for Principle Differential Analysis
plot.basisfd

Plot a Basis Object
basisfd

Define a Functional Basis Object
create.basis

Create Basis Set for Functional Data Analysis
create.fourier.basis

Create a Fourier Basis
density.fd

Compute a Probability Density Function
fbplot

Functional Boxplots
getbasispenalty

Evaluate a Roughness Penalty Matrix
handwrit

Cursive handwriting samples