Learn R Programming

fda (version 6.2.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

17,318

Version

6.2.0

License

GPL (>= 2)

Maintainer

Last Published

September 17th, 2024

Functions in fda (6.2.0)

CSTR

Continuously Stirred Tank Reactor
Eigen

Eigenanalysis preserving dimnames
Data2fd

Create smooth functions that fit scatterplot data.
Fstat.fd

F-statistic for functional linear regression.
ElectricDemand

Predicting electricity demand in Adelaide from temperature
Lfd

Define a Linear Differential Operator Object
CRAN

Test if running as CRAN
CanadianWeather

Canadian average annual weather cycle
Fperm.fd

Permutation F-test for functional linear regression.
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
as.array3

Reshape a vector or array to have 3 dimensions.
MontrealTemp

Montreal Daily Temperature
arithmetic.fd

Arithmetic on functional data ('fd') objects
arithmetic.basisfd

Arithmatic on functional basis objects
as.POSIXct1970

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

Regina Daily Precipitation
basisfd.product

Product of two basisfd objects
axisIntervals

Mark Intervals on a Plot Axis
basisfd

Define a Functional Basis Object
as.fd

Convert a spline object to class 'fd'
bsplineS

B-spline Basis Function Values
cca.fd

Functional Canonical Correlation Analysis
bsplinepen

B-Spline Penalty Matrix
center.fd

Center Functional Data
bifd

Create a bivariate functional data object
bifdPar

Define a Bivariate Functional Parameter Object
checkDims3

Compare dimensions and dimnames of arrays
checkLogicalInteger

Does an argument satisfy required conditions?
cumfd

Compute a Cumulative Distribution Functional Data Object
create.basis

Create Basis Set for Functional Data Analysis
covPACE

Estimate of the covariance surface
create.exponential.basis

Create an Exponential Basis
create.power.basis

Create a Power Basis Object
create.fourier.basis

Create a Fourier Basis
create.bspline.basis

Create a B-spline Basis
coef.fd

Extract functional coefficients
create.constant.basis

Create a Constant Basis
cor.fd

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

Create a Polygonal Basis
create.monomial.basis

Create a Monomial Basis
density.fd

Compute a Probability Density Function
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
dirs

Get subdirectories
dateAccessories

Numeric and character vectors to facilitate working with dates
eigen.pda

Stability Analysis for Principle Differential Analysis
df.residual.fRegress

Degrees of Freedom for Residuals from a Functional Regression
deriv.fd

Compute a Derivative of a Functional Data Object
df2lambda

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

Evaluate a Basis Penalty Matrix
eval.posfd

Evaluate a Positive Functional Data Object
exponpen

Exponential Penalty Matrix
eval.basis

Values of Basis Functions or their Derivatives
fRegress.CV

Computes Cross-validated Error Sum of Integrated Squared Errors for a Functional Regression Model
eval.bifd

Values a Two-argument Functional Data Object
expon

Exponential Basis Function Values
eval.monfd

Values of a Monotone Functional Data Object
exponentiate.fd

Powers of a functional data ('fd') object
eval.fd

Values of a Functional Data Object
eval.surp

Values of a Functional Data Object Defining Surprisal Curves.
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
fRegress.stderr

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

Functions for statistical analyses of functions
fdlabels

Extract plot labels and names for replicates and variables
fdParcheck

Convert fd or basisfd Objects to fdPar Objects
fd2list

Convert a univariate functional data object to a list
fRegress

Functional Regression Analysis
fdPar

Define a Functional Parameter Object
fourier

Fourier Basis Function Values
geigen

Generalized eigenanalysis
fbplot

Functional Boxplots
getbasismatrix

Values of Basis Functions or their Derivatives
handwrit

Cursive handwriting samples
growth

Berkeley Growth Study data
fd

Define a Functional Data Object
fourierpen

Fourier Penalty Matrix
gait

Hip and knee angle while walking
getbasispenalty

Evaluate a Roughness Penalty Matrix
is.basis

Confirm Object is Class "Basisfd"
is.fd

Confirm Object has Class "fd"
is.eqbasis

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

Extract the range from a basis object
is.fdPar

Confirm Object has Class "fdPar"
is.fdSmooth

Confirm Object has Class "fdSmooth"
intensity.fd

Intensity Function for Point Process
is.Lfd

Confirm Object has Class "Lfd"
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
mean.fd

Mean of Functional Data
int2Lfd

Convert Integer to Linear Differential Operator
inprod

Inner products of Functional Data Objects.
lnsrch

Search along a line for a minimum within an optimisation algorithm.
knots.fd

Extract the knots from a function basis or data object
monomialpen

Evaluate Monomial Roughness Penalty Matrix
infantGrowth

Tibia Length for One Baby
lip

Lip motion
linmod

Fit Fully Functional Linear Model
melanoma

melanoma 1936-1972
inprod.bspline

Compute Inner Products B-spline Expansions.
landmarkreg

Landmark Registration of Functional Observations with Differing Ranges
lambda2gcv

Compute GCV Criterion
odesolv

Numerical Solution mth Order Differential Equation System
matplot

Plot Columns of Matrices
nondurables

Nondurable goods index
pca.fd

Functional Principal Components Analysis
objAndNames

Add names to an object
norder

Order of a B-spline
monfn

Evaluate the a monotone function
mongrad

Evaluate the gradient of a monotone function
monhess

Evaluate the Hessian matrix of a monotone function
lines.fd

Add Lines from Functional Data to a Plot
monomial

Evaluate Monomial Basis
pcaPACE

Estimate the functional principal components
pda.overlay

Stability Analysis for Principle Differential Analysis
pda.fd

Principal Differential Analysis
pinch

pinch force data
plot.Lfd

Plot a Linear Differential Operator Object
plot.cca.fd

Plot Functional Canonical Correlation Weight Functions
plotbeta

Plot a functional parameter object with confidence limits
powerpen

Power Penalty Matrix
plot.pda.fd

Plot Principle Differential Analysis Components
plot.basisfd

Plot a Basis Object
polintmat

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

Plot Functional Principal Components
plot.fd

Plot a Functional Data Object
ppBspline

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

Power Basis Function Values
phaseplanePlot

Phase-plane plot
polygpen

Polygonal Penalty Matrix
refinery

Reflux and tray level in a refinery
polyg

Polygonal Basis Function Values
predict.fRegress

Predict method for Functional Regression
sd.fd

Standard Deviation of Functional Data
project.basis

Approximate Functional Data Using a Basis
seabird

Sea Bird Counts
scoresPACE

Estimates of functional Principal Component scores through PACE
register.newfd

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

Register Functional Data Objects Using a Continuous Criterion
smooth.pos

Smooth Data with a Positive Function
smooth.sparse.mean

Smooth the mean function of sparse data
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
sparse.mat

Creates a matrix of sparse data with NAs out of a list
smooth.fdPar

Smooth a functional data object using a directly specified roughness penalty
summary.Lfd

Summarize a Linear Differential Operator Object
smooth.fd

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

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

Fit data with surprisal smoothing.
plotscores

Plot Principal Component Scores
smooth.monotone

Monotone Smoothing of Data
sparse.list

Creates a list of sparse data from a matrix
plotfit

Plot a Functional Data Object With Data
stepchk

Check a step size value for being within parameter limits.
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
trapzmat

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

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

Variance, Covariance, and Correlation Surfaces for Functional Data Object(s)
sum.fd

Sum of Functional Data
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
summary.basisfd

Summarize a Functional Data Object
quadset

Quadrature points and weights for Simpson's rule
reconsCurves

Reconstruct data curves using functional principal components
vec2Lfd

Make a Linear Differential Operator Object from a Vector
zerofind

Does the range of the input contain 0?
zerobasis

Orthonormal Matrix with Columns Summing to Zero
ycheck

Check Data Arrays for Smoothing Functions
wtcheck

Check a vector of weights
symsolve

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

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

Smooth a discrete surface over a rectangular lattice
surp.fit

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

Summarize a Functional Data Object
summary.bifd

Summarize a Bivariate Functional Data Object
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
summary.fdPar

Summarize a Functional Parameter Object