| knots.fd | R Documentation |
Extract either all or only the interior knots from an object of class
basisfd, fd, or fdSmooth.
## S3 method for class 'fd'
knots(Fn, interior=TRUE, ...)
## S3 method for class 'fdSmooth'
knots(Fn, interior=TRUE, ...)
## S3 method for class 'basisfd'
knots(Fn, interior=TRUE, ...)
Fn |
an object of class |
interior |
logical: if TRUE, Fn[["params"]] are returned. Else, nord <- norder(Fn); rng <- Fn[['rangeval']]; return c(rep(rng[1], nord), Fn[["params"]], rep(rng[2], nord)) |
... |
ignored |
The interior knots of a bspline basis are stored in the
params component. The remaining knots are in the
rangeval component, with multiplicity norder(Fn).
Numeric vector. If 'interior' is TRUE, this is the params
component of the bspline basis. Otherwise, params is
bracketed by rep(rangeval, norder(basisfd).
Spencer Graves
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.
fd,
create.bspline.basis,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.