# fda v2.4.8

Monthly downloads

## Functional Data Analysis

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. Matlab versions of the code and
sample analyses are no longer distributed through CRAN, as they
were when the book was published. For those, ftp from
<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.
The changes from Version 2.4.1 are fixes of bugs in density.fd and
removal of functions create.polynomial.basis, polynompen, and
polynomial. These were deleted because the monomial basis
does the same thing and because there were errors in the code.

## Functions in fda

Name | Description | |

bifd | Create a bivariate functional data object | |

axisIntervals | Mark Intervals on a Plot Axis | |

create.constant.basis | Create a Constant Basis | |

create.exponential.basis | Create an Exponential Basis | |

bsplinepen | B-Spline Penalty Matrix | |

fRegress.CV | Computes Cross-validated Error Sum of Integrated Squared Errors for a Functional Regression Model | |

density.fd | Compute a Probability Density Function | |

infantGrowth | Tibia Length for One Baby | |

checkDims3 | Compare dimensions and dimnames of arrays | |

dateAccessories | Numeric and character vectors to facilitate working with dates | |

fourier | Fourier Basis Function Values | |

fRegress | Functional Regression Analysis | |

bifdPar | Define a Bivariate Functional Parameter Object | |

create.basis | Create Basis Set for Functional Data Analysis | |

deriv.fd | Compute a Derivative of a Functional Data Object | |

bsplineS | B-spline Basis Function Values | |

checkLogicalInteger | Does an argument satisfy required conditions? | |

file.copy2 | Copy a file with a default 'to' name | |

create.bspline.basis | Create a B-spline Basis | |

cycleplot.fd | Plot Cycles for a Periodic Bivariate Functional Data Object | |

cca.fd | Functional Canonical Correlation Analysis | |

inprod.bspline | Compute Inner Products B-spline Expansions. | |

eval.basis | Values of Basis Functions or their Derivatives | |

center.fd | Center Functional Data | |

create.polygonal.basis | Create a Polygonal Basis | |

basisfd | Define a Functional Basis Object | |

basisfd.product | Product of two basisfd objects | |

is.fdSmooth | Confirm Object has Class "fdSmooth" | |

eval.bifd | Values a Two-argument Functional Data Object | |

cor.fd | Correlation matrix from functional data object(s) | |

coef.fd | Extract functional coefficients | |

create.power.basis | Create a Power Basis Object | |

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

lip | Lip motion | |

lmWinsor | Winsorized Regression | |

create.fourier.basis | Create a Fourier Basis | |

df.residual.fRegress | Degress of Freedom for Residuals from a Functional Regression | |

create.monomial.basis | Create a Monomial Basis | |

dirs | Get subdirectories | |

matplot | Plot Columns of Matrices | |

growth | Berkeley Growth Study data | |

mean.fd | Mean of Functional Data | |

eigen.pda | Stability Analysis for Principle Differential Analysis | |

exponentiate.fd | Powers of a functional data ('fd') object | |

eval.fd | Values of a Functional Data Object | |

quadset | Quadrature points and weights for Simpson's rule | |

handwrit | Cursive handwriting samples | |

eval.monfd | Values of a Monotone Functional Data Object | |

fdaMatlabPath | Add 'fdaM' to the Matlab path | |

fourierpen | Fourier Penalty Matrix | |

fdlabels | Extract plot labels and names for replicates and variables | |

exponpen | Exponential Penalty Matrix | |

eval.penalty | Evaluate a Basis Penalty Matrix | |

df2lambda | Convert Degrees of Freedom to a Smoothing Parameter Value | |

readHMD | Download data from the Human Mortality Database (HMD) | |

register.fd0 | Correct for initial position error between functional data objects. | |

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

evaldiag.bifd | Evaluate the Diagonal of a Bivariate Functional Data Object | |

eval.posfd | Evaluate a Positive Functional Data Object | |

fda-package | Functional Data Analysis in R | |

fdPar | Define a Functional Parameter Object | |

getbasispenalty | Evaluate a Roughness Penalty Matrix | |

gait | Hip and knee angle while walking | |

expon | Exponential Basis Function Values | |

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

symsolve | solve(A, B) where A is symmetric | |

int2Lfd | Convert Integer to Linear Differential Operator | |

is.basis | Confirm Object is Class "Basisfd" | |

inprod | Inner products of Functional Data Objects. | |

getbasisrange | Extract the range from a basis object | |

fd | Define a Functional Data Object | |

fbplot | Functional Boxplots | |

is.fd | Confirm Object has Class "fd" | |

fd2list | Convert a univariate functional data object to s list | |

is.fdPar | Confirm Object has Class "fdPar" | |

lmWinsor12 | Support functions for lmWinsor | |

monomialpen | Evaluate Monomial Roughness Penalty Matrix | |

monomial | Evaluate Monomial Basis | |

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

plot.basisfd | Plot a Basis Object | |

monfn | Evaluates a monotone function | |

lmeWinsor | Winsorized Regression with mixed effects | |

melanoma | melanoma 1936-1972 | |

lambda2df | Convert Smoothing Parameter to Degrees of Freedom | |

plot.Lfd | Plot a Linear Differential Operator Object | |

is.eqbasis | Confirm that two objects of class "Basisfd" are identical | |

polygpen | Polygonal Penalty Matrix | |

plot.lmWinsor | lmWinsor plot | |

pda.overlay | Stability Analysis for Principle Differential Analysis | |

lines.fd | Add Lines from Functional Data to a Plot | |

pda.fd | Principal Differential Analysis | |

lambda2gcv | Compute GCV Criterion | |

geigen | Generalized eigenanalysis | |

linmod | Fit Fully Functional Linear Model | |

powerbasis | Power Basis Function Values | |

predict.lmWinsor | Predict method for Winsorized linear model fits | |

phaseplanePlot | Phase-plane plot | |

plot.pca.fd | Plot Functional Principal Components | |

refinery | Reflux and tray level in a refinery | |

odesolv | Numerical Solution mth Order Differential Equation System | |

predict.fRegress | Predict method for Functional Regression | |

objAndNames | Add names to an object | |

onechild | growth in height of one 10-year-old boy | |

getbasismatrix | Values of Basis Functions or their Derivatives | |

seabird | Sea Bird Counts | |

pinch | pinch force data | |

register.fd | Register Functional Data Objects Using a Continuous Criterion | |

pca.fd | Functional Principal Components Analysis | |

plot.pda.fd | Plot Principle Differential Analysis Components | |

plotfit | Plot a Functional Data Object With Data | |

intensity.fd | Intensity Function for Point Process | |

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

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

is.Lfd | Confirm Object has Class "Lfd" | |

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

smooth.monotone | Monotone Smoothing of Data | |

smooth.pos | Smooth Data with a Positive Function | |

plotbeta | Plot a functional parameter object with confidence limits | |

landmark.reg.expData | Experiment data for landmark registration and alignment | |

smooth.morph | Estimates a Smooth Warping Function | |

sum.fd | Sum of Functional Data | |

plotreg.fd | Plot the results of the registration of a set of curves | |

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

varmx | Rotate a Matrix of Component Loadings using the VARIMAX Criterion | |

residuals.fRegress | Residuals from a Functional Regression | |

predict.lmeWinsor | Predict method for Winsorized linear model fits with mixed effects | |

project.basis | Approximate Functional Data Using a Basis | |

landmarkreg | Landmark Registration of Functional Observations | |

nondurables | Nondurable goods index | |

norder | Order of a B-spline | |

plot.cca.fd | Plot Functional Canonical Correlation Weight Functions | |

smooth.basisPar | Smooth Data Using a Directly Specified Roughness Penalty | |

smooth.bibasis | Smooth a discrete surface over a rectangular lattice | |

vec2Lfd | Make a Linear Differential Operator Object from a Vector | |

summary.fdPar | Summarize a Functional Parameter Object | |

plot.fd | Plot a Functional Data Object | |

sd.fd | Standard Deviation of Functional Data | |

summary.Lfd | Summarize a Linear Differential Operator Object | |

plotscores | Plot Principal Component Scores | |

wtcheck | Check a vector of weights | |

svd2 | singular value decomposition with automatic error handling | |

polyg | Polygonal Basis Function Values | |

summary.basisfd | Summarize a Functional Data Object | |

zerofind | Does the range of the input contain 0? | |

powerpen | Power Penalty Matrix | |

ppBspline | Convert a B-spline function to piece-wise polynomial form | |

summary.bifd | Summarize a Bivariate Functional Data Object | |

varmx.cca.fd | Rotation of Functional Canonical Components with VARIMAX | |

summary.fd | Summarize a Functional Data Object | |

varmx.pca.fd | Rotation of Functional Principal Components with VARIMAX Criterion | |

Lfd | Define a Linear Differential Operator Object | |

MontrealTemp | Montreal Daily Temperature | |

Fperm.fd | Permutation F-test for functional linear regression. | |

CanadianWeather | Canadian average annual weather cycle | |

argvalsy.swap | Swap argvals with y if the latter is simpler. | |

TaylorSpline | Taylor representation of a B-Spline | |

CSTR | Continuously Stirred Tank Reactor | |

Fstat.fd | F-statistic for functional linear regression. | |

as.fd | Convert a spline object to class 'fd' | |

ReginaPrecip | Regina Daily Precipitation | |

StatSciChinese | Statistical Science in Chinese | |

Data2fd | Create a functional data object from data | |

Eigen | Eigenanalysis preserving dimnames | |

arithmetic.basisfd | Arithmatic on functional basis objects | |

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

AmpPhaseDecomp | Decomposition for Amplitude and Phase Variation | |

CRAN | Test if running as CRAN | |

as.POSIXct1970 | as.POXIXct for number of seconds since the start of 1970. | |

as.array3 | Reshape a vector or array to have 3 dimensions. | |

No Results! |

## Last month downloads

## Details

Date | 2018-06-29 |

License | GPL (>= 2) |

URL | http://www.functionaldata.org |

LazyData | true |

Repository | CRAN |

Repository/R-Forge/Project | fda |

Repository/R-Forge/Revision | 771 |

Repository/R-Forge/DateTimeStamp | 2018-07-03 14:14:58 |

Date/Publication | 2018-07-05 13:19:38 UTC |

NeedsCompilation | no |

Packaged | 2018-07-03 14:30:11 UTC; rforge |

suggests | deSolve , lattice , nlme , quadprog , R.matlab , RCurl , zoo |

depends | graphics , Matrix , R (>= 2.10.0) , splines |

Contributors | Giles Hooker, S by Jim Ramsey, Hadley Wickham, Spencer Graves |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/fda)](http://www.rdocumentation.org/packages/fda)
```