# fda v2.4.7

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

CSTR | Continuously Stirred Tank Reactor | |

CanadianWeather | Canadian average annual weather cycle | |

TaylorSpline | Taylor representation of a B-Spline | |

AmpPhaseDecomp | Decomposition for Amplitude and Phase Variation | |

CRAN | Test if running as CRAN | |

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

axisIntervals | Mark Intervals on a Plot Axis | |

bsplineS | B-spline Basis Function Values | |

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

cca.fd | Functional Canonical Correlation Analysis | |

center.fd | Center Functional Data | |

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

basisfd | Define a Functional Basis Object | |

basisfd.product | Product of two basisfd objects | |

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

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

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

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

density.fd | Compute a Probability Density Function | |

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

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

expon | Exponential Basis Function Values | |

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

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

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

bsplinepen | B-Spline Penalty Matrix | |

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

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

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

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

bifd | Create a bivariate functional data object | |

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

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

fRegress | Functional Regression Analysis | |

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

fourier | Fourier Basis Function Values | |

growth | Berkeley Growth Study data | |

bifdPar | Define a Bivariate Functional Parameter Object | |

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

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

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

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

eval.penalty | Evaluate a Basis Penalty Matrix | |

fdPar | Define a Functional Parameter Object | |

fda-package | Functional Data Analysis in R | |

infantGrowth | Tibia Length for One Baby | |

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

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

fbplot | Functional Boxplots | |

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

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

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

handwrit | Cursive handwriting samples | |

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

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

fourierpen | Fourier Penalty Matrix | |

gait | Hip and knee angle while walking | |

inprod | Inner products of Functional Data Objects. | |

lip | Lip motion | |

lmWinsor | Winsorized Regression | |

objAndNames | Add names to an object | |

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

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

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

lmWinsor12 | Support functions for lmWinsor | |

lmeWinsor | Winsorized Regression with mixed effects | |

matplot | Plot Columns of Matrices | |

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

fd | Define a Functional Data Object | |

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

geigen | Generalized eigenanalysis | |

getbasismatrix | Values of Basis Functions or their Derivatives | |

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

odesolv | Numerical Solution mth Order Differential Equation System | |

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

pca.fd | Functional Principal Components Analysis | |

mean.fd | Mean of Functional Data | |

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

plot.basisfd | Plot a Basis Object | |

plot.lmWinsor | lmWinsor plot | |

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

refinery | Reflux and tray level in a refinery | |

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

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

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

plotfit | Plot a Functional Data Object With Data | |

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

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

int2Lfd | Convert Integer to Linear Differential Operator | |

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

linmod | Fit Fully Functional Linear Model | |

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

sum.fd | Sum of Functional Data | |

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

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

Lfd | Define a Linear Differential Operator Object | |

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

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

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

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

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

landmarkreg | Landmark Registration of Functional Observations | |

MontrealTemp | Montreal Daily Temperature | |

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

summary.basisfd | Summarize a Functional Data Object | |

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

monomial | Evaluate Monomial Basis | |

monomialpen | Evaluate Monomial Roughness Penalty Matrix | |

pda.fd | Principal Differential Analysis | |

nondurables | Nondurable goods index | |

norder | Order of a B-spline | |

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

plot.fd | Plot a Functional Data Object | |

polygpen | Polygonal Penalty Matrix | |

powerbasis | Power Basis Function Values | |

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

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

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

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

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

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

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

powerpen | Power Penalty Matrix | |

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

seabird | Sea Bird Counts | |

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

summary.fdPar | Summarize a Functional Parameter Object | |

svd2 | singular value decomposition with automatic error handling | |

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

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

ReginaPrecip | Regina Daily Precipitation | |

StatSciChinese | Statistical Science in Chinese | |

checkDims3 | Compare dimensions and dimnames of arrays | |

checkLogicalInteger | Does an argument satisfy required conditions? | |

coef.fd | Extract functional coefficients | |

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

dirs | Get subdirectories | |

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

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

exponpen | Exponential Penalty Matrix | |

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

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

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

smooth.monotone | Monotone Smoothing of Data | |

smooth.morph | Estimates a Smooth Warping Function | |

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

wtcheck | Check a vector of weights | |

getbasispenalty | Evaluate a Roughness Penalty Matrix | |

getbasisrange | Extract the range from a basis object | |

intensity.fd | Intensity Function for Point Process | |

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

lambda2df | Convert Smoothing Parameter to Degrees of Freedom | |

lambda2gcv | Compute GCV Criterion | |

melanoma | melanoma 1936-1972 | |

monfn | Evaluates a monotone function | |

phaseplanePlot | Phase-plane plot | |

pinch | pinch force data | |

plotscores | Plot Principal Component Scores | |

polyg | Polygonal Basis Function Values | |

predict.fRegress | Predict method for Functional Regression | |

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

residuals.fRegress | Residuals from a Functional Regression | |

sd.fd | Standard Deviation of Functional Data | |

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

summary.fd | Summarize a Functional Data Object | |

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

No Results! |

## Last month downloads

## Details

Date | 2017-08-12 |

License | GPL (>= 2) |

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

LazyData | true |

Repository | CRAN |

Repository/R-Forge/Project | fda |

Repository/R-Forge/Revision | 767 |

Repository/R-Forge/DateTimeStamp | 2017-08-14 01:47:47 |

Date/Publication | 2017-08-14 13:10:02 UTC |

NeedsCompilation | no |

Packaged | 2017-08-14 02:15:07 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)
```