Learn R Programming

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

fda (version 5.1.5)

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.1.5

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

July 13th, 2020

Functions in fda (5.1.5)

Fperm.fd

Permutation F-test for functional linear regression.
Eigen

Eigenanalysis preserving dimnames
Lfd

Define a Linear Differential Operator Object
Fstat.fd

F-statistic for functional linear regression.
MontrealTemp

Montreal Daily Temperature
CSTR

Continuously Stirred Tank Reactor
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
CanadianWeather

Canadian average annual weather cycle
arithmetic.basisfd

Arithmatic on functional basis objects
CRAN

Test if running as CRAN
Data2fd

Create a functional data object from data
cca.fd

Functional Canonical Correlation Analysis
as.POSIXct1970

as.POXIXct for number of seconds since the start of 1970.
basisfd.product

Product of two basisfd objects
as.array3

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

Arithmetic on functional data ('fd') objects
basisfd

Define a Functional Basis Object
checkDims3

Compare dimensions and dimnames of arrays
StatSciChinese

Statistical Science in Chinese
bsplinepen

B-Spline Penalty Matrix
bsplineS

B-spline Basis Function Values
checkLogicalInteger

Does an argument satisfy required conditions?
cor.fd

Correlation matrix from functional data object(s)
ReginaPrecip

Regina Daily Precipitation
coef.fd

Extract functional coefficients
as.fd

Convert a spline object to class 'fd'
bifd

Create a bivariate functional data object
axisIntervals

Mark Intervals on a Plot Axis
create.power.basis

Create a Power Basis Object
create.monomial.basis

Create a Monomial Basis
create.bspline.basis

Create a B-spline Basis
bifdPar

Define a Bivariate Functional Parameter Object
center.fd

Center Functional Data
df2lambda

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

Create an Exponential Basis
create.fourier.basis

Create a Fourier Basis
covPACE

Estimate of the covariance surface
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
deriv.fd

Compute a Derivative of a Functional Data Object
df.residual.fRegress

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

Create Basis Set for Functional Data Analysis
eval.monfd

Values of a Monotone Functional Data Object
create.polygonal.basis

Create a Polygonal Basis
create.constant.basis

Create a Constant Basis
eval.bifd

Values a Two-argument Functional Data Object
dirs

Get subdirectories
expon

Exponential Basis Function Values
dateAccessories

Numeric and character vectors to facilitate working with dates
density.fd

Compute a Probability Density Function
exponentiate.fd

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

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

Functional Regression Analysis
exponpen

Exponential Penalty Matrix
eval.penalty

Evaluate a Basis Penalty Matrix
handwrit

Cursive handwriting samples
fd

Define a Functional Data Object
fourier

Fourier Basis Function Values
fbplot

Functional Boxplots
fRegress.CV

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

Convert Integer to Linear Differential Operator
eigen.pda

Stability Analysis for Principle Differential Analysis
fourierpen

Fourier Penalty Matrix
infantGrowth

Tibia Length for One Baby
eval.basis

Values of Basis Functions or their Derivatives
intensity.fd

Intensity Function for Point Process
fda-package

Functional Data Analysis in R
lambda2gcv

Compute GCV Criterion
eval.fd

Values of a Functional Data Object
landmark.reg.expData

Experiment data for landmark registration and alignment
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
fdPar

Define a Functional Parameter Object
eval.posfd

Evaluate a Positive Functional Data Object
fd2list

Convert a univariate functional data object to a list
knots.fd

Extract the knots from a function basis or data object
mean.fd

Mean of Functional Data
landmarkreg

Landmark Registration of Functional Observations
matplot

Plot Columns of Matrices
inprod

Inner products of Functional Data Objects.
inprod.bspline

Compute Inner Products B-spline Expansions.
gait

Hip and knee angle while walking
is.fdPar

Confirm Object has Class "fdPar"
is.fdSmooth

Confirm Object has Class "fdSmooth"
monomial

Evaluate Monomial Basis
monomialpen

Evaluate Monomial Roughness Penalty Matrix
plotreg.fd

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

Nondurable goods index
norder

Order of a B-spline
plotbeta

Plot a functional parameter object with confidence limits
plotscores

Plot Principal Component Scores
ppBspline

Convert a B-spline function to piece-wise polynomial form
pda.fd

Principal Differential Analysis
predict.fRegress

Predict method for Functional Regression
fdlabels

Extract plot labels and names for replicates and variables
pda.overlay

Stability Analysis for Principle Differential Analysis
lines.fd

Add Lines from Functional Data to a Plot
linmod

Fit Fully Functional Linear Model
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
getbasismatrix

Values of Basis Functions or their Derivatives
geigen

Generalized eigenanalysis
plotfit

Plot a Functional Data Object With Data
project.basis

Approximate Functional Data Using a Basis
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
getbasispenalty

Evaluate a Roughness Penalty Matrix
quadset

Quadrature points and weights for Simpson's rule
is.Lfd

Confirm Object has Class "Lfd"
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
getbasisrange

Extract the range from a basis object
is.basis

Confirm Object is Class "Basisfd"
is.fd

Confirm Object has Class "fd"
melanoma

melanoma 1936-1972
growth

Berkeley Growth Study data
is.eqbasis

Confirm that two objects of class "Basisfd" are identical
smooth.fdPar

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

pinch force data
smooth.fd

Smooth a Functional Data Object Using an Indirectly Specified Roughness Penalty
plot.Lfd

Plot a Linear Differential Operator Object
phaseplanePlot

Phase-plane plot
lip

Lip motion
summary.basisfd

Summarize a Functional Data Object
summary.bifd

Summarize a Bivariate Functional Data Object
sd.fd

Standard Deviation of Functional Data
polyg

Polygonal Basis Function Values
polygpen

Polygonal Penalty Matrix
plot.basisfd

Plot a Basis Object
monfn

Evaluates a monotone function
sum.fd

Sum of Functional Data
seabird

Sea Bird Counts
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
pca.fd

Functional Principal Components Analysis
sparse.list

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

Smooth Data with a Positive Function
objAndNames

Add names to an object
summary.Lfd

Summarize a Linear Differential Operator Object
pcaPACE

Estimate the functional principal components
zerofind

Does the range of the input contain 0?
odesolv

Numerical Solution mth Order Differential Equation System
smooth.sparse.mean

Smooth the mean function of sparse data
sparse.mat

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

Plot Functional Canonical Correlation Weight Functions
powerbasis

Power Basis Function Values
plot.fd

Plot a Functional Data Object
powerpen

Power Penalty Matrix
var.fd

Variance, Covariance, and Correlation Surfaces for Functional Data Object(s)
smooth.basis.sparse

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

Plot Functional Principal Components
plot.pda.fd

Plot Principle Differential Analysis Components
smooth.basis

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

Monotone Smoothing of Data
trapzmat

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

Estimates a Smooth Warping Function
tperm.fd

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

Reconstruct data curves using functional principal components
symsolve

solve(A, B) where A is symmetric
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
svd2

singular value decomposition with automatic error handling
register.fd

Register Functional Data Objects Using a Continuous Criterion
scoresPACE

Estimates of functional Principal Component scores through PACE
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
summary.fdPar

Summarize a Functional Parameter Object
summary.fd

Summarize a Functional Data Object
wtcheck

Check a vector of weights
vec2Lfd

Make a Linear Differential Operator Object from a Vector