Learn R Programming

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

fda (version 6.0.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 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,939

Version

6.0.3

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

April 26th, 2022

Functions in fda (6.0.3)

CRAN

Test if running as CRAN
Eigen

Eigenanalysis preserving dimnames
ElectricDemand

Predicting electricity demand in Adelaide from temperature
Fstat.fd

F-statistic for functional linear regression.
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
CanadianWeather

Canadian average annual weather cycle
Data2fd

Create a functional data object from data
Fperm.fd

Permutation F-test for functional linear regression.
Lfd

Define a Linear Differential Operator Object
CSTR

Continuously Stirred Tank Reactor
as.array3

Reshape a vector or array to have 3 dimensions.
arithmetic.fd

Arithmetic on functional data ('fd') objects
ReginaPrecip

Regina Daily Precipitation
MontrealTemp

Montreal Daily Temperature
axisIntervals

Mark Intervals on a Plot Axis
StatSciChinese

Statistical Science in Chinese
arithmetic.basisfd

Arithmatic on functional basis objects
basisfd.product

Product of two basisfd objects
coef.fd

Extract functional coefficients
checkLogicalInteger

Does an argument satisfy required conditions?
bifd

Create a bivariate functional data object
center.fd

Center Functional Data
checkDims3

Compare dimensions and dimnames of arrays
basisfd

Define a Functional Basis Object
covPACE

Estimate of the covariance surface
cca.fd

Functional Canonical Correlation Analysis
create.monomial.basis

Create a Monomial Basis
bsplinepen

B-Spline Penalty Matrix
create.fourier.basis

Create a Fourier Basis
as.fd

Convert a spline object to class 'fd'
create.power.basis

Create a Power Basis Object
cor.fd

Correlation matrix from functional data object(s)
create.polygonal.basis

Create a Polygonal Basis
bsplineS

B-spline Basis Function Values
bifdPar

Define a Bivariate Functional Parameter Object
cumfd

Compute a Cumulative Distribution Functional Data Object
create.constant.basis

Create a Constant Basis
eigen.pda

Stability Analysis for Principle Differential Analysis
cycleplot.fd

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

Create an Exponential Basis
eval.basis

Values of Basis Functions or their Derivatives
create.basis

Create Basis Set for Functional Data Analysis
eval.surp

Values of a Functional Data Object Defining Surprisal Curves.
eval.posfd

Evaluate a Positive Functional Data Object
as.POSIXct1970

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

Compute a Derivative of a Functional Data Object
exponentiate.fd

Powers of a functional data ('fd') object
df.residual.fRegress

Degrees of Freedom for Residuals from a Functional Regression
exponpen

Exponential Penalty Matrix
eval.penalty

Evaluate a Basis Penalty Matrix
eval.monfd

Values of a Monotone Functional Data Object
fd2list

Convert a univariate functional data object to a list
fd

Define a Functional Data Object
dateAccessories

Numeric and character vectors to facilitate working with dates
expon

Exponential Basis Function Values
density.fd

Compute a Probability Density Function
evaldiag.bifd

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

Values a Two-argument Functional Data Object
fda-package

Functional Data Analysis in R
df2lambda

Convert Degrees of Freedom to a Smoothing Parameter Value
create.bspline.basis

Create a B-spline Basis
eval.fd

Values of a Functional Data Object
fdPar

Define a Functional Parameter Object
fRegress.stderr

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

Extract the range from a basis object
growth

Berkeley Growth Study data
fdlabels

Extract plot labels and names for replicates and variables
infantGrowth

Tibia Length for One Baby
handwrit

Cursive handwriting samples
is.fdPar

Confirm Object has Class "fdPar"
is.fdSmooth

Confirm Object has Class "fdSmooth"
dirs

Get subdirectories
fRegress.CV

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

Convert fd or basisfd Objects to fdPar Objects
fbplot

Functional Boxplots
inprod.bspline

Compute Inner Products B-spline Expansions.
inprod

Inner products of Functional Data Objects.
knots.fd

Extract the knots from a function basis or data object
monfn

Evaluate the a monotone function
melanoma

melanoma 1936-1972
getbasispenalty

Evaluate a Roughness Penalty Matrix
pcaPACE

Estimate the functional principal components
pca.fd

Functional Principal Components Analysis
getbasismatrix

Values of Basis Functions or their Derivatives
int2Lfd

Convert Integer to Linear Differential Operator
plot.pca.fd

Plot Functional Principal Components
register.fd

Register Functional Data Objects Using a Continuous Criterion
register.newfd

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

Plot Principle Differential Analysis Components
fourierpen

Fourier Penalty Matrix
linmod

Fit Fully Functional Linear Model
is.eqbasis

Confirm that two objects of class "Basisfd" are identical
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
fourier

Fourier Basis Function Values
is.fd

Confirm Object has Class "fd"
lines.fd

Add Lines from Functional Data to a Plot
landmarkreg

Landmark Registration of Functional Observations
lnsrch

Search along a line for a minimum within an optimisation algorithm.
pda.overlay

Stability Analysis for Principle Differential Analysis
intensity.fd

Intensity Function for Point Process
lip

Lip motion
plotbeta

Plot a functional parameter object with confidence limits
predict.fRegress

Predict method for Functional Regression
pda.fd

Principal Differential Analysis
plotfit

Plot a Functional Data Object With Data
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
project.basis

Approximate Functional Data Using a Basis
monhess

Evaluate the Hessian matrix of a monotone function
odesolv

Numerical Solution mth Order Differential Equation System
mongrad

Evaluate the gradient of a monotone function
objAndNames

Add names to an object
smooth.basis.sparse

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

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

Smooth Data Using a Directly Specified Roughness Penalty
norder

Order of a B-spline
nondurables

Nondurable goods index
plotreg.fd

Plot the results of the registration of a set of curves
plotscores

Plot Principal Component Scores
geigen

Generalized eigenanalysis
polygpen

Polygonal Penalty Matrix
fRegress

Functional Regression Analysis
gait

Hip and knee angle while walking
powerbasis

Power Basis Function Values
summary.basisfd

Summarize a Functional Data Object
smooth.fd

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

Summarize a Bivariate Functional Data Object
surp.fit

Evaluate the fit of surprisal curves to binned psychometric data.
stepit

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

solve(A, B) where A is symmetric
wtcheck

Check a vector of weights
vec2Lfd

Make a Linear Differential Operator Object from a Vector
scoresPACE

Estimates of functional Principal Component scores through PACE
is.basis

Confirm Object is Class "Basisfd"
is.Lfd

Confirm Object has Class "Lfd"
landmark.reg.expData

Experiment data for landmark registration and alignment
lambda2gcv

Compute GCV Criterion
matplot

Plot Columns of Matrices
sd.fd

Standard Deviation of Functional Data
phaseplanePlot

Phase-plane plot
pinch

pinch force data
sparse.mat

Creates a matrix of sparse data with NAs out of a list
summary.fd

Summarize a Functional Data Object
mean.fd

Mean of Functional Data
sparse.list

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

Fit data with surprisal smoothing.
smooth.sparse.mean

Smooth the mean function of sparse data
summary.fdPar

Summarize a Functional Parameter Object
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
zerofind

Does the range of the input contain 0?
var.fd

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

Check Data Arrays for Smoothing Functions
zerobasis

Orthonormal Matrix with Columns Summing to Zero
monomial

Evaluate Monomial Basis
quadset

Quadrature points and weights for Simpson's rule
monomialpen

Evaluate Monomial Roughness Penalty Matrix
landmarkreg2

Landmark Registration of Functional Observations with Differing Ranges
plot.cca.fd

Plot Functional Canonical Correlation Weight Functions
plot.Lfd

Plot a Linear Differential Operator Object
polintmat

Polynomial extrapolation for a converging sequence of one or more values
reconsCurves

Reconstruct data curves using functional principal components
polyg

Polygonal Basis Function Values
plot.basisfd

Plot a Basis Object
plot.fd

Plot a Functional Data Object
powerpen

Power Penalty Matrix
smooth.fdPar

Smooth a functional data object using a directly specified roughness penalty
smooth.morph

Estimates a Smooth Warping Function Mapping an Interval into Another
smooth.pos

Smooth Data with a Positive Function
ppBspline

Convert a B-spline function to piece-wise polynomial form
smooth.monotone

Monotone Smoothing of Data
smooth.basis

Construct a functional data object by smoothing data using a roughness penalty
summary.Lfd

Summarize a Linear Differential Operator Object
seabird

Sea Bird Counts
sum.fd

Sum of Functional Data
tperm.fd

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

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

Rotation of Functional Canonical Components with VARIMAX
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion