Learn R Programming

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

fda (version 5.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 and 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 are available by ftp from .

Copy Link

Version

Install

install.packages('fda')

Monthly Downloads

15,929

Version

5.4.0

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

September 28th, 2021

Functions in fda (5.4.0)

Fperm.fd

Permutation F-test for functional linear regression.
Eigen

Eigenanalysis preserving dimnames
CRAN

Test if running as CRAN
ElectricDemand

Predicting electricity demand in Adelaide from temperature
Fstat.fd

F-statistic for functional linear regression.
CSTR

Continuously Stirred Tank Reactor
CanadianWeather

Canadian average annual weather cycle
Data2fd

Create a functional data object from data
Lfd

Define a Linear Differential Operator Object
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
axisIntervals

Mark Intervals on a Plot Axis
StatSciChinese

Statistical Science in Chinese
as.POSIXct1970

as.POXIXct for number of seconds since the start of 1970.
bifdPar

Define a Bivariate Functional Parameter Object
bsplineS

B-spline Basis Function Values
arithmetic.fd

Arithmetic on functional data ('fd') objects
bifd

Create a bivariate functional data object
basisfd.product

Product of two basisfd objects
basisfd

Define a Functional Basis Object
bsplinepen

B-Spline Penalty Matrix
cca.fd

Functional Canonical Correlation Analysis
as.fd

Convert a spline object to class 'fd'
center.fd

Center Functional Data
as.array3

Reshape a vector or array to have 3 dimensions.
create.polygonal.basis

Create a Polygonal Basis
create.fourier.basis

Create a Fourier Basis
create.monomial.basis

Create a Monomial Basis
checkDims3

Compare dimensions and dimnames of arrays
density.fd

Compute a Probability Density Function
create.power.basis

Create a Power Basis Object
covPACE

Estimate of the covariance surface
eval.basis

Values of Basis Functions or their Derivatives
dirs

Get subdirectories
cor.fd

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

Compute a Derivative of a Functional Data Object
create.basis

Create Basis Set for Functional Data Analysis
checkLogicalInteger

Does an argument satisfy required conditions?
coef.fd

Extract functional coefficients
arithmetic.basisfd

Arithmatic on functional basis objects
eval.fd

Values of a Functional Data Object
MontrealTemp

Montreal Daily Temperature
create.bspline.basis

Create a B-spline Basis
eval.bifd

Values a Two-argument Functional Data Object
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
eval.monfd

Values of a Monotone Functional Data Object
dateAccessories

Numeric and character vectors to facilitate working with dates
exponpen

Exponential Penalty Matrix
ReginaPrecip

Regina Daily Precipitation
fRegress.CV

Computes Cross-validated Error Sum of Integrated Squared Errors for a Functional Regression Model
create.constant.basis

Create a Constant Basis
df.residual.fRegress

Degrees of Freedom for Residuals from a Functional Regression
create.exponential.basis

Create an Exponential Basis
expon

Exponential Basis Function Values
df2lambda

Convert Degrees of Freedom to a Smoothing Parameter Value
eigen.pda

Stability Analysis for Principle Differential Analysis
exponentiate.fd

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

Tibia Length for One Baby
inprod.bspline

Compute Inner Products B-spline Expansions.
inprod

Inner products of Functional Data Objects.
eval.penalty

Evaluate a Basis Penalty Matrix
eval.surp

Values of a Functional Data Object Defining Surprisal Curves.
fdParcheck

Convert fd or basisfd Objects to fdPar Objects
fdlabels

Extract plot labels and names for replicates and variables
is.fdSmooth

Confirm Object has Class "fdSmooth"
fourier

Fourier Basis Function Values
growth

Berkeley Growth Study data
fda-package

Functional Data Analysis in R
eval.posfd

Evaluate a Positive Functional Data Object
fd2list

Convert a univariate functional data object to a list
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
getbasismatrix

Values of Basis Functions or their Derivatives
knots.fd

Extract the knots from a function basis or data object
geigen

Generalized eigenanalysis
fdPar

Define a Functional Parameter Object
fbplot

Functional Boxplots
handwrit

Cursive handwriting samples
int2Lfd

Convert Integer to Linear Differential Operator
lines.fd

Add Lines from Functional Data to a Plot
landmark.reg.expData

Experiment data for landmark registration and alignment
is.eqbasis

Confirm that two objects of class "Basisfd" are identical
is.basis

Confirm Object is Class "Basisfd"
landmarkreg

Landmark Registration of Functional Observations
lip

Lip motion
fd

Define a Functional Data Object
fourierpen

Fourier Penalty Matrix
fRegress

Functional Regression Analysis
fRegress.stderr

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

Evaluate a Roughness Penalty Matrix
gait

Hip and knee angle while walking
intensity.fd

Intensity Function for Point Process
linmod

Fit Fully Functional Linear Model
is.fd

Confirm Object has Class "fd"
pcaPACE

Estimate the functional principal components
pca.fd

Functional Principal Components Analysis
plotbeta

Plot a functional parameter object with confidence limits
getbasisrange

Extract the range from a basis object
lnsrch

Search along a line for a minimum within an optimisation algorithm.
melanoma

melanoma 1936-1972
is.fdPar

Confirm Object has Class "fdPar"
objAndNames

Add names to an object
monfn

Evaluates a monotone function
phaseplanePlot

Phase-plane plot
plot.Lfd

Plot a Linear Differential Operator Object
pinch

pinch force data
plot.cca.fd

Plot Functional Canonical Correlation Weight Functions
lambda2gcv

Compute GCV Criterion
odesolv

Numerical Solution mth Order Differential Equation System
monomialpen

Evaluate Monomial Roughness Penalty Matrix
plot.fd

Plot a Functional Data Object
monomial

Evaluate Monomial Basis
sd.fd

Standard Deviation of Functional Data
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
ppBspline

Convert a B-spline function to piece-wise polynomial form
plotscores

Plot Principal Component Scores
plotreg.fd

Plot the results of the registration of a set of curves
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
scoresPACE

Estimates of functional Principal Component scores through PACE
plotfit

Plot a Functional Data Object With Data
pda.overlay

Stability Analysis for Principle Differential Analysis
pda.fd

Principal Differential Analysis
is.Lfd

Confirm Object has Class "Lfd"
seabird

Sea Bird Counts
matplot

Plot Columns of Matrices
plot.basisfd

Plot a Basis Object
predict.fRegress

Predict method for Functional Regression
sparse.mat

Creates a matrix of sparse data with NAs out of a list
project.basis

Approximate Functional Data Using a Basis
mean.fd

Mean of Functional Data
nondurables

Nondurable goods index
quadset

Quadrature points and weights for Simpson's rule
polyg

Polygonal Basis Function Values
plot.pca.fd

Plot Functional Principal Components
norder

Order of a B-spline
smooth.pos

Smooth Data with a Positive Function
smooth.sparse.mean

Smooth the mean function of sparse data
trapzmat

Approximate the functional inner product of two functional data objects using the trapezpoidal rule over a fine mesh of value.
var.fd

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

Check a step size value for being within parameter limits.
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
stepit

Compute a new step size for a linear search within an optimization algorithm.
sum.fd

Sum of Functional Data
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
plot.pda.fd

Plot Principle Differential Analysis Components
summary.fdPar

Summarize a Functional Parameter Object
powerpen

Power Penalty Matrix
powerbasis

Power Basis Function Values
smooth.basis.sparse

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

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

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

Rotation of Functional Canonical Components with VARIMAX
reconsCurves

Reconstruct data curves using functional principal components
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
polygpen

Polygonal Penalty Matrix
register.fd

Register Functional Data Objects Using a Continuous Criterion
surp.fit

Evaluate the fit of surprisal curves to binned psychometric data.
smooth.fdPar

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

Orthonormal Matrix with Columns Summing to Zero
zerofind

Does the range of the input contain 0?
smooth.monotone

Monotone Smoothing of Data
ycheck

Check Data Arrays for Smoothing Functions
wtcheck

Check a vector of weights
smooth.morph

Estimates a Smooth Warping Function
tperm.fd

Permutation t-test for two groups of functional data objects.
sparse.list

Creates a list of sparse data from a matrix
smooth.surp

Fit data with surprisal smoothing.
summary.Lfd

Summarize a Linear Differential Operator Object
summary.basisfd

Summarize a Functional Data Object
symsolve

solve(A, B) where A is symmetric
summary.fd

Summarize a Functional Data Object
summary.bifd

Summarize a Bivariate Functional Data Object
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
vec2Lfd

Make a Linear Differential Operator Object from a Vector