derivcurves: Computes the derivative of functional data.
Description
Often one set of curves y1 is given, and the second set of curves y2
are the (estimated) derivatives.
This function computes these derivatives.
Usage
derivcurves(y1,method="bspline")
Arguments
y1
A n by T matrix of functional data.
method
Type of derivative method, for more information see
details.
Value
Returns the derivative of functional data.
Details
If method="bspline", "exponential", "fourier",
"monomial" or "polynomial", the "derivcurves" function creates
a basis to represent the functional data.
If "method"="diff", raw derivation is applied. Not
recommended to use this method when the values are not
equally spaced.
This function is a wraper for
"fda.usc::fdata.deriv". See help("fda.usc::fdata.deriv").