Learn R Programming

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

fda (version 2.2.7)

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. They were ported from earlier versions in Matlab and S-PLUS. An introduction appears 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. The principal changes to version 2.2.6 are: 1. Major enhancements to function smooth.basis as well as the functions that call it. New or revised arguments are: "wtvec" may now be a positive symmetric matrix as well as a vector "covariates" for inputting covariate matrices that explain some fraction of the data to be smoothed (often called "semiparametric smoothing") "method=qr" enables an algorithm based on the qr- decomposition that will be more accurate than the usual approach relying on the Choleski decomposition. It will, however, be slower. 2. Greatly expanded examples in the smooth.basis.Rd file that show a wider range of uses of this function. 3. Function data2fd has been replaced by function Data2fd for simple smoothing problems. Data2fd is designed to be invoked with various argument configurations. 4. And the usual fixes of reported bugs, especially in the registraton functions, landmarkreg and register.fd.

Copy Link

Version

Install

install.packages('fda')

Monthly Downloads

16,499

Version

2.2.7

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

August 30th, 2011

Functions in fda (2.2.7)

AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
create.constant.basis

Create a Constant Basis
create.bspline.basis

Create a B-spline Basis
eval.posfd

Evaluate a Positive Functional Data Object
infantGrowth

Tibia Length for One Baby
is.fd

Confirm Object has Class "fd"
eval.monfd

Values of a Monotone Functional Data Object
Fstat.fd

F-statistic for functional linear regression.
bifd

Create a bivariate functional data object
getbasismatrix

Values of Basis Functions or their Derivatives
arithmetic.basisfd

Arithmatic on functional basis objects
register.fd

Register Functional Data Objects Using a Continuous Criterion
create.power.basis

Create a Power Basis Object
fdlabels

Extract plot labels and names for replicates and variables
landmark.reg.expData

Experiment data for landmark registration and alignment
Data2fd

Create a functional data object from data
smooth.monotone

Monotone Smoothing of Data
fRegress.CV

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

Smooth Data with a Positive Function
lip

Lip motion
plotscores

Plot Principal Component Scores
fbplot

Functional Boxplots
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
ReginaPrecip

Regina Daily Precipitation
fdPar

Define a Functional Parameter Object
summary.basisfd

Summarize a Functional Data Object
dateAccessories

Numeric and character vectors to facilitate working with dates
project.basis

Approximate Functional Data Using a Basis
fourier

Fourier Basis Function Values
create.basis

Create Basis Set for Functional Data Analysis
df2lambda

Convert Degrees of Freedom to a Smoothing Parameter Value
smooth.fd

Smooth a Functional Data Object Using an Indirectly Specified Roughness Penalty
StatSciChinese

Statistical Science in Chinese
cor.fd

Correlation matrix from functional data object(s)
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
inprod.bspline

Compute Inner Products B-spline Expansions.
lmWinsor

Winsorized Regression
center.fd

Center Functional Data
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
checkLogicalInteger

Does an argument satisfy required conditions?
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
smooth.basis

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

Continuously Stirred Tank Reactor
lines.fd

Add Lines from Functional Data to a Plot
density.fd

Compute a Probability Density Function
seabird

Sea Bird Counts
pda.overlay

Stability Analysis for Principle Differential Analysis
sd.fd

Standard Deviation of Functional Data
gait

Hip and knee angle while walking
is.basis

Confirm Object is Class "Basisfd"
plot.pca.fd

Plot Functional Principal Components
checkDims3

Compare dimensions and dimnames of arrays
phaseplanePlot

Phase-plane plot
monfn

Evaluates a monotone function
MontrealTemp

Montreal Daily Temperature
plot.fd

Plot a Functional Data Object
eval.fd

Values of a Functional Data Object
argvalsy.swap

Swap argvals with y if the latter is simpler.
basisfd.product

Product of two basisfd objects
eval.bifd

Values a Two-argument Functional Data Object
create.monomial.basis

Create a Monomial Basis
smooth.morph

Estimates a Smooth Warping Function
fRegress

Functional Regression Analysis
fourierpen

Fourier Penalty Matrix
create.fourier.basis

Create a Fourier Basis
bsplineS

B-spline Basis Function Values
polygpen

Polygonal Penalty Matrix
bsplinepen

B-Spline Penalty Matrix
lmeWinsor

Winsorized Regression with mixed effects
is.Lfd

Confirm Object has Class "Lfd"
var.fd

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

Reflux and tray level in a refinery
monomialpen

Evaluate Monomial Roughness Penalty Matrix
create.polynomial.basis

Create a Polynomial Basis
mean.fd

Mean of Functional Data
melanoma

melanoma 1936-1972
create.polygonal.basis

Create a Polygonal Basis
dirs

Get subdirectories
inprod

Inner products of Functional Data Objects.
basisfd

Define a Functional Basis Object
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
exponpen

Exponential Penalty Matrix
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
growth

Berkeley Growth Study data
lmWinsor12

Support functions for lmWinsor
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
smooth.fdPar

Smooth a functional data object using a directly specified roughness penalty
df.residual.fRegress

Degress of Freedom for Residuals from a Functional Regression
Lfd

Define a Linear Differential Operator Object
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
summary.bifd

Summarize a Bivariate Functional Data Object
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
expon

Exponential Basis Function Values
onechild

growth in height of one 10-year-old boy
pda.fd

Principal Differential Analysis
getbasispenalty

Evaluate a Roughness Penalty Matrix
fdaMatlabPath

Add 'fdaM' to the Matlab path
CanadianWeather

Canadian average annual weather cycle
pinch

pinch force data
plotbeta

Plot a functional parameter object with confidence limits
plot.basisfd

Plot a Basis Object
Fperm.fd

Permutation F-test for functional linear regression.
register.fd0

Correct for initial position error between functional data objects.
is.fdSmooth

Confirm Object has Class "fdSmooth"
zerofind

Does the range of the input contain 0?
powerbasis

Power Basis Function Values
predict.lmeWinsor

Predict method for Winsorized linear model fits with mixed effects
create.exponential.basis

Create an Exponential Basis
svd2

singular value decomposition with automatic error handling
norder

Order of a B-spline
fRegress.stderr

Compute Standard errors of Coefficient Functions Estimated by Functional Regression Analysis
is.fdPar

Confirm Object has Class "fdPar"
landmarkreg

Landmark Registration of Functional Observations
bifdPar

Define a Bivariate Functional Parameter Object
plotfit

Plot a Functional Data Object With Data
lambda2gcv

Compute GCV Criterion
fda-internal

FDA internal functions
quadset

Quadrature points and weights for Simpson's rule
file.copy2

Copy a file with a default 'to' name
monomial

Evaluate Monomial Basis
as.array3

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

Summarize a Functional Data Object
summary.fdPar

Summarize a Functional Parameter Object
wtcheck

Check a vector of weights
plot.lmWinsor

lmWinsor plot
handwrit

Cursive handwriting samples
pca.fd

Functional Principal Components Analysis
coef.fd

Extract functional coefficients
powerpen

Power Penalty Matrix
summary.Lfd

Summarize a Linear Differential Operator Object
deriv.fd

Compute a Derivative of a Functional Data Object
TaylorSpline

Taylor representation of a B-Spline
knots.fd

Extract the knots from a function basis or data object
polyg

Polygonal Basis Function Values
predict.fRegress

Predict method for Functional Regression
residuals.fRegress

Residuals from a Functional Regression
sum.fd

Sum of Functional Data
getbasisrange

Extract the range from a basis object
Eigen

Eigenanalysis preserving dimnames
int2Lfd

Convert Integer to Linear Differential Operator
plot.Lfd

Plot a Linear Differential Operator Object
nondurables

Nondurable goods index
predict.lmWinsor

Predict method for Winsorized linear model fits
vec2Lfd

Make a Linear Differential Operator Object from a Vector
cca.fd

Functional Canonical Correlation Analysis
eval.basis

Values of Basis Functions or their Derivatives
eval.penalty

Evaluate a Basis Penalty Matrix
fd

Define a Functional Data Object
intensity.fd

Intensity Function for Point Process
linmod

Fit Fully Functional Linear Model
objAndNames

Add names to an object
tperm.fd

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

Arithmetic on functional data ('fd') objects
axisIntervals

Mark Intervals on a Plot Axis
expect.phi

Expectation of basis functions
fda-package

Functional Data Analysis in R
odesolv

Numerical Solution mth Order Differential Equation System
as.fd

Convert a spline object to class 'fd'