| fdParcheck | R Documentation |
fd or basisfd Objects to fdPar Objects
If the input is an fd object, default fdPar parameters are
added to convert the object to an fdPar object.
If a basisfd object, it is first converted to an fd object
with a nbasis by ncurve coefficient matrix of zeros,
and then converted to a fdPar object.
fdParcheck(fdParobj, ncurve=NULL)
fdParobj |
A |
ncurve |
The number of curves or functions for which the basis object is to be used in their representation. If missing, an error message is displayed and computation terminated. |
The previous version of this function did not include the argument
ncurve, and set up an fd object with a square
matrix of zeros. This could cause an error in many of the
functions that called it.
Returns a fdPar object.
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.