The ‘fda’ package supports functional data analysis in R, as described in Ramsay, Hooker, and Graves (2009) Functional Data Analysis with R and MATLAB (Springer)
You can install the released version of fda from CRAN with:
install.packages("fda")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("JamesRamsay5/fda")
The fda
package comes with script files that run nearly all the
examples in Ramsay, Hooker and Graves (2009). You can find the script
files as follows:
library(fda)
#> Loading required package: splines
#> Loading required package: Matrix
#> Loading required package: fds
#> Loading required package: rainbow
#> Loading required package: MASS
#> Loading required package: pcaPP
#> Loading required package: RCurl
#>
#> Attaching package: 'fda'
#> The following object is masked from 'package:graphics':
#>
#> matplot
(scripts <- system.file('scripts', package='fda'))
#> [1] ""
EXCEPT: These ‘scripts’ files are no longer in the package.