Extract either all or only the interior knots from an object of class
basisfd, fd, or fdSmooth.
# S3 method for fd
knots(Fn, interior=TRUE, ...)
# S3 method for fdSmooth
knots(Fn, interior=TRUE, ...)
# S3 method for basisfd
knots(Fn, interior=TRUE, ...)an object of class basisfd or containing such an object
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
Numeric vector. If 'interior' is TRUE, this is the params
component of the bspline basis. Otherwise, params is
bracketed by rep(rangeval, norder(basisfd).
The interior knots of a bspline basis are stored in the
params component. The remaining knots are in the
rangeval component, with mulltiplicity norder(Fn).