Learn R Programming

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

fda (version 2.4.3)

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. The changes from Version 2.4.1 are fixes of bugs in density.fd and removal of functions create.polynomial.basis, polynompen, and polynomial. These were deleted because the monomial basis does the same thing and because there were errors in the code.

Copy Link

Version

Install

install.packages('fda')

Monthly Downloads

14,583

Version

2.4.3

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

May 23rd, 2014

Functions in fda (2.4.3)

CSTR

Continuously Stirred Tank Reactor
Fstat.fd

F-statistic for functional linear regression.
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
Eigen

Eigenanalysis preserving dimnames
arithmetic.basisfd

Arithmatic on functional basis objects
as.POSIXct1970

as.POXIXct for number of seconds since the start of 1970.
create.power.basis

Create a Power Basis Object
create.bspline.basis

Create a B-spline Basis
file.copy2

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

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

Numerical Solution mth Order Differential Equation System
Data2fd

Create a functional data object from data
basisfd.product

Product of two basisfd objects
as.array3

Reshape a vector or array to have 3 dimensions.
CanadianWeather

Canadian average annual weather cycle
cca.fd

Functional Canonical Correlation Analysis
lines.fd

Add Lines from Functional Data to a Plot
create.polygonal.basis

Create a Polygonal Basis
coef.fd

Extract functional coefficients
bsplineS

B-spline Basis Function Values
exponpen

Exponential Penalty Matrix
expon

Exponential Basis Function Values
TaylorSpline

Taylor representation of a B-Spline
basisfd

Define a Functional Basis Object
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
nondurables

Nondurable goods index
CRAN

Test if running as CRAN
cor.fd

Correlation matrix from functional data object(s)
intensity.fd

Intensity Function for Point Process
eval.penalty

Evaluate a Basis Penalty Matrix
polygpen

Polygonal Penalty Matrix
center.fd

Center Functional Data
pda.overlay

Stability Analysis for Principle Differential Analysis
Lfd

Define a Linear Differential Operator Object
fdlabels

Extract plot labels and names for replicates and variables
MontrealTemp

Montreal Daily Temperature
eval.posfd

Evaluate a Positive Functional Data Object
lmWinsor

Winsorized Regression
summary.basisfd

Summarize a Functional Data Object
lmeWinsor

Winsorized Regression with mixed effects
arithmetic.fd

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

Convert a spline object to class 'fd'
fourierpen

Fourier Penalty Matrix
create.fourier.basis

Create a Fourier Basis
density.fd

Compute a Probability Density Function
fRegress.CV

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

Define a Functional Data Object
eval.bifd

Values a Two-argument Functional Data Object
is.fd

Confirm Object has Class "fd"
pca.fd

Functional Principal Components Analysis
StatSciChinese

Statistical Science in Chinese
df2lambda

Convert Degrees of Freedom to a Smoothing Parameter Value
monfn

Evaluates a monotone function
plot.fd

Plot a Functional Data Object
fda-package

Functional Data Analysis in R
objAndNames

Add names to an object
axisIntervals

Mark Intervals on a Plot Axis
Fperm.fd

Permutation F-test for functional linear regression.
readHMD

Download data from the Human Mortality Database (HMD)
getbasisrange

Extract the range from a basis object
sum.fd

Sum of Functional Data
smooth.fd

Smooth a Functional Data Object Using an Indirectly Specified Roughness Penalty
phaseplanePlot

Phase-plane plot
is.basis

Confirm Object is Class "Basisfd"
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
polyg

Polygonal Basis Function Values
lip

Lip motion
monomial

Evaluate Monomial Basis
bifdPar

Define a Bivariate Functional Parameter Object
linmod

Fit Fully Functional Linear Model
tperm.fd

Permutation t-test for two groups of functional data objects.
plot.lmWinsor

lmWinsor plot
int2Lfd

Convert Integer to Linear Differential Operator
lambda2gcv

Compute GCV Criterion
wtcheck

Check a vector of weights
create.exponential.basis

Create an Exponential Basis
checkLogicalInteger

Does an argument satisfy required conditions?
getbasismatrix

Values of Basis Functions or their Derivatives
summary.fdPar

Summarize a Functional Parameter Object
melanoma

melanoma 1936-1972
ReginaPrecip

Regina Daily Precipitation
eval.basis

Values of Basis Functions or their Derivatives
pda.fd

Principal Differential Analysis
dateAccessories

Numeric and character vectors to facilitate working with dates
landmarkreg

Landmark Registration of Functional Observations
create.monomial.basis

Create a Monomial Basis
var.fd

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

Hip and knee angle while walking
fRegress.stderr

Compute Standard errors of Coefficient Functions Estimated by Functional Regression Analysis
checkDims3

Compare dimensions and dimnames of arrays
bsplinepen

B-Spline Penalty Matrix
geigen

Generalized eigenanalysis
create.constant.basis

Create a Constant Basis
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
plot.Lfd

Plot a Linear Differential Operator Object
fdaMatlabPath

Add 'fdaM' to the Matlab path
fourier

Fourier Basis Function Values
plotfit

Plot a Functional Data Object With Data
smooth.monotone

Monotone Smoothing of Data
smooth.morph

Estimates a Smooth Warping Function
project.basis

Approximate Functional Data Using a Basis
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
predict.lmWinsor

Predict method for Winsorized linear model fits
svd2

singular value decomposition with automatic error handling
fbplot

Functional Boxplots
inprod.bspline

Compute Inner Products B-spline Expansions.
matplot

Plot Columns of Matrices
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
plotbeta

Plot a functional parameter object with confidence limits
smooth.fdPar

Smooth a functional data object using a directly specified roughness penalty
norder

Order of a B-spline
register.fd

Register Functional Data Objects Using a Continuous Criterion
predict.lmeWinsor

Predict method for Winsorized linear model fits with mixed effects
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
powerbasis

Power Basis Function Values
summary.fd

Summarize a Functional Data Object
plotscores

Plot Principal Component Scores
register.fd0

Correct for initial position error between functional data objects.
symsolve

solve(A, B) where A is symmetric
ppBspline

Convert a B-spline function to piece-wise polynomial form
summary.bifd

Summarize a Bivariate Functional Data Object
lmWinsor12

Support functions for lmWinsor
smooth.basis

Construct a functional data object by smoothing data using a roughness penalty
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
growth

Berkeley Growth Study data
vec2Lfd

Make a Linear Differential Operator Object from a Vector
knots.fd

Extract the knots from a function basis or data object
zerofind

Does the range of the input contain 0?
dirs

Get subdirectories
plot.pca.fd

Plot Functional Principal Components
eval.monfd

Values of a Monotone Functional Data Object
df.residual.fRegress

Degress of Freedom for Residuals from a Functional Regression
fRegress

Functional Regression Analysis
powerpen

Power Penalty Matrix
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
smooth.pos

Smooth Data with a Positive Function
summary.Lfd

Summarize a Linear Differential Operator Object
seabird

Sea Bird Counts
pinch

pinch force data
handwrit

Cursive handwriting samples
mean.fd

Mean of Functional Data
landmark.reg.expData

Experiment data for landmark registration and alignment
sd.fd

Standard Deviation of Functional Data
quadset

Quadrature points and weights for Simpson's rule
deriv.fd

Compute a Derivative of a Functional Data Object
is.Lfd

Confirm Object has Class "Lfd"
is.fdPar

Confirm Object has Class "fdPar"
infantGrowth

Tibia Length for One Baby
residuals.fRegress

Residuals from a Functional Regression
argvalsy.swap

Swap argvals with y if the latter is simpler.
bifd

Create a bivariate functional data object
is.fdSmooth

Confirm Object has Class "fdSmooth"
monomialpen

Evaluate Monomial Roughness Penalty Matrix
refinery

Reflux and tray level in a refinery
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
create.basis

Create Basis Set for Functional Data Analysis
eval.fd

Values of a Functional Data Object
fd2list

Convert a univariate functional data object to s list
fdPar

Define a Functional Parameter Object
inprod

Inner products of Functional Data Objects.
onechild

growth in height of one 10-year-old boy
predict.fRegress

Predict method for Functional Regression
plot.basisfd

Plot a Basis Object
getbasispenalty

Evaluate a Roughness Penalty Matrix