Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

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

fda (version 2.3.2)

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. As of this release, the R-Project is no longer distributing the Matlab versions of the functional data analysis functions and sample analyses through the CRAN distribution system. This is due to the pressure placed on storage required in the many CRAN sites by the rapidly increasing number of R packages, of which the fda package is one. The three of us involved in this package have agreed to help out this situation by switching to distributing the Matlab functions and analyses through Jim Ramsay's ftp site at McGill University. To obtain these Matlab files, go to this site using an ftp utility: http://www.psych.mcgill.ca/misc/fda/downloads/FDAfuns/ There you find a set of .zip files containing the functions and sample analyses, as well as two .txt files giving instructions for installation and some additional information.

Copy Link

Version

Install

install.packages('fda')

Monthly Downloads

18,482

Version

2.3.2

License

GPL (>= 2)

Maintainer

S by Jim Ramsey

Last Published

October 29th, 2012

Functions in fda (2.3.2)

norder

Order of a B-spline
plot.Lfd

Plot a Linear Differential Operator Object
plotscores

Plot Principal Component Scores
is.fdSmooth

Confirm Object has Class "fdSmooth"
exponentiate.fd

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

pinch force data
CSTR

Continuously Stirred Tank Reactor
file.copy2

Copy a file with a default 'to' name
as.fd

Convert a spline object to class 'fd'
Fperm.fd

Permutation F-test for functional linear regression.
Data2fd

Create a functional data object from data
coef.fd

Extract functional coefficients
create.exponential.basis

Create an Exponential Basis
melanoma

melanoma 1936-1972
ReginaPrecip

Regina Daily Precipitation
bifd

Create a bivariate functional data object
Lfd

Define a Linear Differential Operator Object
bifdPar

Define a Bivariate Functional Parameter Object
pda.fd

Principal Differential Analysis
getbasispenalty

Evaluate a Roughness Penalty Matrix
eval.monfd

Values of a Monotone Functional Data Object
getbasisrange

Extract the range from a basis object
df2lambda

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

Evaluate a Positive Functional Data Object
fRegress.CV

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

Berkeley Growth Study data
create.bspline.basis

Create a B-spline Basis
as.array3

Reshape a vector or array to have 3 dimensions.
basisfd

Define a Functional Basis Object
create.monomial.basis

Create a Monomial Basis
create.fourier.basis

Create a Fourier Basis
eval.bifd

Values a Two-argument Functional Data Object
refinery

Reflux and tray level in a refinery
project.basis

Approximate Functional Data Using a Basis
fRegress.stderr

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

B-spline Basis Function Values
dirs

Get subdirectories
as.POSIXct1970

as.POXIXct for number of seconds since the start of 1970.
create.polygonal.basis

Create a Polygonal Basis
create.constant.basis

Create a Constant Basis
inprod

Inner products of Functional Data Objects.
eval.penalty

Evaluate a Basis Penalty Matrix
StatSciChinese

Statistical Science in Chinese
basisfd.product

Product of two basisfd objects
plot.pca.fd

Plot Functional Principal Components
create.basis

Create Basis Set for Functional Data Analysis
cor.fd

Correlation matrix from functional data object(s)
lmeWinsor

Winsorized Regression with mixed effects
argvalsy.swap

Swap argvals with y if the latter is simpler.
inprod.bspline

Compute Inner Products B-spline Expansions.
is.fdPar

Confirm Object has Class "fdPar"
CRAN

Test if running as CRAN
intensity.fd

Intensity Function for Point Process
create.power.basis

Create a Power Basis Object
fda-internal

FDA internal functions
cycleplot.fd

Plot Cycles for a Periodic Bivariate Functional Data Object
bsplinepen

B-Spline Penalty Matrix
dateAccessories

Numeric and character vectors to facilitate working with dates
lmWinsor

Winsorized Regression
register.fd

Register Functional Data Objects Using a Continuous Criterion
checkDims3

Compare dimensions and dimnames of arrays
TaylorSpline

Taylor representation of a B-Spline
is.basis

Confirm Object is Class "Basisfd"
Fstat.fd

F-statistic for functional linear regression.
svd2

singular value decomposition with automatic error handling
polyg

Polygonal Basis Function Values
register.newfd

Register Functional Data Objects with Pre-Computed Warping Functions
df.residual.fRegress

Degress of Freedom for Residuals from a Functional Regression
predict.fRegress

Predict method for Functional Regression
lambda2gcv

Compute GCV Criterion
monomialpen

Evaluate Monomial Roughness Penalty Matrix
monomial

Evaluate Monomial Basis
getbasismatrix

Values of Basis Functions or their Derivatives
powerbasis

Power Basis Function Values
fda-package

Functional Data Analysis in R
MontrealTemp

Montreal Daily Temperature
lip

Lip motion
fd

Define a Functional Data Object
phaseplanePlot

Phase-plane plot
lambda2df

Convert Smoothing Parameter to Degrees of Freedom
lmWinsor12

Support functions for lmWinsor
arithmetic.fd

Arithmetic on functional data ('fd') objects
fbplot

Functional Boxplots
summary.fd

Summarize a Functional Data Object
readHMD

Downlaod data from the Human Mortality Database (HMD)
objAndNames

Add names to an object
smooth.basis

Construct a functional data object by smoothing data using a roughness penalty
predict.lmeWinsor

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

Values of Basis Functions or their Derivatives
evaldiag.bifd

Evaluate the Diagonal of a Bivariate Functional Data Object
varmx

Rotate a Matrix of Component Loadings using the VARIMAX Criterion
seabird

Sea Bird Counts
axisIntervals

Mark Intervals on a Plot Axis
knots.fd

Extract the knots from a function basis or data object
checkLogicalInteger

Does an argument satisfy required conditions?
cca.fd

Functional Canonical Correlation Analysis
exponpen

Exponential Penalty Matrix
residuals.fRegress

Residuals from a Functional Regression
linmod

Fit Fully Functional Linear Model
fdPar

Define a Functional Parameter Object
mean.fd

Mean of Functional Data
is.Lfd

Confirm Object has Class "Lfd"
deriv.fd

Compute a Derivative of a Functional Data Object
lines.fd

Add Lines from Functional Data to a Plot
AmpPhaseDecomp

Decomposition for Amplitude and Phase Variation
smooth.bibasis

Smooth a discrete surface over a rectangular lattice
is.fd

Confirm Object has Class "fd"
var.fd

Variance, Covariance, and Correlation Surfaces for Functional Data Object(s)
summary.basisfd

Summarize a Functional Data Object
odesolv

Numerical Solution mth Order Differential Equation System
predict.lmWinsor

Predict method for Winsorized linear model fits
sd.fd

Standard Deviation of Functional Data
smooth.basisPar

Smooth Data Using a Directly Specified Roughness Penalty
infantGrowth

Tibia Length for One Baby
smooth.pos

Smooth Data with a Positive Function
matplot

Plot Columns of Matrices
int2Lfd

Convert Integer to Linear Differential Operator
varmx.pca.fd

Rotation of Functional Principal Components with VARIMAX Criterion
handwrit

Cursive handwriting samples
gait

Hip and knee angle while walking
fourier

Fourier Basis Function Values
plot.fd

Plot a Functional Data Object
pda.overlay

Stability Analysis for Principle Differential Analysis
vec2Lfd

Make a Linear Differential Operator Object from a Vector
nondurables

Nondurable goods index
landmarkreg

Landmark Registration of Functional Observations
quadset

Quadrature points and weights for Simpson's rule
wtcheck

Check a vector of weights
smooth.fd

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

Plot a functional parameter object with confidence limits
tperm.fd

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

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

Summarize a Bivariate Functional Data Object
fdaMatlabPath

Add 'fdaM' to the Matlab path
polygpen

Polygonal Penalty Matrix
landmark.reg.expData

Experiment data for landmark registration and alignment
fourierpen

Fourier Penalty Matrix
register.fd0

Correct for initial position error between functional data objects.
pca.fd

Functional Principal Components Analysis
monfn

Evaluates a monotone function
summary.Lfd

Summarize a Linear Differential Operator Object
varmx.cca.fd

Rotation of Functional Canonical Components with VARIMAX
eval.fd

Values of a Functional Data Object
summary.fdPar

Summarize a Functional Parameter Object
onechild

growth in height of one 10-year-old boy
plotfit

Plot a Functional Data Object With Data
zerofind

Does the range of the input contain 0?
powerpen

Power Penalty Matrix
Eigen

Eigenanalysis preserving dimnames
center.fd

Center Functional Data
density.fd

Compute a Probability Density Function
expon

Exponential Basis Function Values
fdlabels

Extract plot labels and names for replicates and variables
plot.lmWinsor

lmWinsor plot
plot.basisfd

Plot a Basis Object
smooth.monotone

Monotone Smoothing of Data
CanadianWeather

Canadian average annual weather cycle
arithmetic.basisfd

Arithmatic on functional basis objects
create.polynomial.basis

Create a Polynomial Basis
fRegress

Functional Regression Analysis
smooth.morph

Estimates a Smooth Warping Function
sum.fd

Sum of Functional Data