Learn R Programming

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

fda (version 6.1.8)

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

6.1.8

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

March 9th, 2024

Functions in fda (6.1.8)

CRAN

Test if running as CRAN
CanadianWeather

Canadian average annual weather cycle
Eigen

Eigenanalysis preserving dimnames
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
Lfd

Define a Linear Differential Operator Object
ElectricDemand

Predicting electricity demand in Adelaide from temperature
Fstat.fd

F-statistic for functional linear regression.
Fperm.fd

Permutation F-test for functional linear regression.
Data2fd

Create smooth functions that fit scatterplot data.
CSTR

Continuously Stirred Tank Reactor
arithmetic.basisfd

Arithmatic on functional basis objects
arithmetic.fd

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

Reshape a vector or array to have 3 dimensions.
ReginaPrecip

Regina Daily Precipitation
as.POSIXct1970

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

Convert a spline object to class 'fd'
basisfd.product

Product of two basisfd objects
MontrealTemp

Montreal Daily Temperature
axisIntervals

Mark Intervals on a Plot Axis
basisfd

Define a Functional Basis Object
checkDims3

Compare dimensions and dimnames of arrays
bifd

Create a bivariate functional data object
cca.fd

Functional Canonical Correlation Analysis
checkLogicalInteger

Does an argument satisfy required conditions?
bifdPar

Define a Bivariate Functional Parameter Object
bsplineS

B-spline Basis Function Values
bsplinepen

B-Spline Penalty Matrix
center.fd

Center Functional Data
coef.fd

Extract functional coefficients
covPACE

Estimate of the covariance surface
create.monomial.basis

Create a Monomial Basis
create.exponential.basis

Create an Exponential Basis
create.bspline.basis

Create a B-spline Basis
cor.fd

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

Create a Power Basis Object
create.constant.basis

Create a Constant Basis
create.fourier.basis

Create a Fourier Basis
cumfd

Compute a Cumulative Distribution Functional Data Object
density.fd

Compute a Probability Density Function
eval.basis

Values of Basis Functions or their Derivatives
deriv.fd

Compute a Derivative of a Functional Data Object
eval.bifd

Values a Two-argument Functional Data Object
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
dateAccessories

Numeric and character vectors to facilitate working with dates
create.polygonal.basis

Create a Polygonal Basis
df2lambda

Convert Degrees of Freedom to a Smoothing Parameter Value
df.residual.fRegress

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

Create Basis Set for Functional Data Analysis
eval.surp

Values of a Functional Data Object Defining Surprisal Curves.
eigen.pda

Stability Analysis for Principle Differential Analysis
fRegress.CV

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

Exponential Penalty Matrix
dirs

Get subdirectories
eval.fd

Values of a Functional Data Object
exponentiate.fd

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

Exponential Basis Function Values
eval.monfd

Values of a Monotone Functional Data Object
evaldiag.bifd

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

Evaluate a Basis Penalty Matrix
eval.posfd

Evaluate a Positive Functional Data Object
fRegress.stderr

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

Convert a univariate functional data object to a list
fdPar

Define a Functional Parameter Object
fdlabels

Extract plot labels and names for replicates and variables
fourier

Fourier Basis Function Values
fRegress

Functional Regression Analysis
fda

Functions for statistical analyses of functions
fdParcheck

Convert fd or basisfd Objects to fdPar Objects
fourierpen

Fourier Penalty Matrix
gait

Hip and knee angle while walking
growth

Berkeley Growth Study data
handwrit

Cursive handwriting samples
geigen

Generalized eigenanalysis
infantGrowth

Tibia Length for One Baby
inprod.bspline

Compute Inner Products B-spline Expansions.
fd

Define a Functional Data Object
fbplot

Functional Boxplots
is.fd

Confirm Object has Class "fd"
is.basis

Confirm Object is Class "Basisfd"
is.eqbasis

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

Convert Integer to Linear Differential Operator
inprod

Inner products of Functional Data Objects.
is.fdSmooth

Confirm Object has Class "fdSmooth"
getbasisrange

Extract the range from a basis object
getbasispenalty

Evaluate a Roughness Penalty Matrix
is.Lfd

Confirm Object has Class "Lfd"
intensity.fd

Intensity Function for Point Process
knots.fd

Extract the knots from a function basis or data object
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
getbasismatrix

Values of Basis Functions or their Derivatives
mean.fd

Mean of Functional Data
lambda2gcv

Compute GCV Criterion
lip

Lip motion
melanoma

melanoma 1936-1972
linmod

Fit Fully Functional Linear Model
landmarkreg

Landmark Registration of Functional Observations with Differing Ranges
lines.fd

Add Lines from Functional Data to a Plot
monfn

Evaluate the a monotone function
monomial

Evaluate Monomial Basis
monhess

Evaluate the Hessian matrix of a monotone function
monomialpen

Evaluate Monomial Roughness Penalty Matrix
norder

Order of a B-spline
lnsrch

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

Add names to an object
is.fdPar

Confirm Object has Class "fdPar"
matplot

Plot Columns of Matrices
odesolv

Numerical Solution mth Order Differential Equation System
pca.fd

Functional Principal Components Analysis
nondurables

Nondurable goods index
mongrad

Evaluate the gradient of a monotone function
plot.Lfd

Plot a Linear Differential Operator Object
pcaPACE

Estimate the functional principal components
pinch

pinch force data
pda.fd

Principal Differential Analysis
polintmat

Polynomial extrapolation for a converging sequence of one or more values
plot.pda.fd

Plot Principle Differential Analysis Components
plot.pca.fd

Plot Functional Principal Components
plot.fd

Plot a Functional Data Object
phaseplanePlot

Phase-plane plot
plotbeta

Plot a functional parameter object with confidence limits
plotscores

Plot Principal Component Scores
polyg

Polygonal Basis Function Values
pda.overlay

Stability Analysis for Principle Differential Analysis
plotfit

Plot a Functional Data Object With Data
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
ppBspline

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

Power Basis Function Values
powerpen

Power Penalty Matrix
polygpen

Polygonal Penalty Matrix
sd.fd

Standard Deviation of Functional Data
quadset

Quadrature points and weights for Simpson's rule
refinery

Reflux and tray level in a refinery
plot.cca.fd

Plot Functional Canonical Correlation Weight Functions
plot.basisfd

Plot a Basis Object
reconsCurves

Reconstruct data curves using functional principal components
register.fd

Register Functional Data Objects Using a Continuous Criterion
seabird

Sea Bird Counts
project.basis

Approximate Functional Data Using a Basis
predict.fRegress

Predict method for Functional Regression
scoresPACE

Estimates of functional Principal Component scores through PACE
smooth.morph

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

Monotone Smoothing of Data
smooth.basis.sparse

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

Smooth the mean function of sparse data
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
smooth.pos

Smooth Data with a Positive Function
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
smooth.fdPar

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

Smooth a Functional Data Object Using an Indirectly Specified Roughness Penalty
smooth.basis

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

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

Check a step size value for being within parameter limits.
summary.bifd

Summarize a Bivariate Functional Data Object
smooth.surp

Fit data with surprisal smoothing.
sparse.mat

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

Sum of Functional Data
summary.Lfd

Summarize a Linear Differential Operator Object
summary.fd

Summarize a Functional Data Object
sparse.list

Creates a list of sparse data from a matrix
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
summary.basisfd

Summarize a Functional Data Object
var.fd

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

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

Evaluate the fit of surprisal curves to binned psychometric data.
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
zerobasis

Orthonormal Matrix with Columns Summing to Zero
ycheck

Check Data Arrays for Smoothing Functions
tperm.fd

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

Does the range of the input contain 0?
vec2Lfd

Make a Linear Differential Operator Object from a Vector
summary.fdPar

Summarize a Functional Parameter Object
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
wtcheck

Check a vector of weights
symsolve

solve(A, B) where A is symmetric