Learn R Programming

fda (version 6.2.0)

norder: Order of a B-spline

Description

norder = number of basis functions minus the number of interior knots.

Usage

norder(x, ...)
# S3 method for fd
norder(x, ...)
# S3 method for basisfd
norder(x, ...)
# S3 method for default
norder(x, ...)

#norder.bspline(x, ...)

#NOTE: The following is required by CRAN rules that # function names like "as.numeric" must follow the documentation # standards for S3 generics, even when they are not. # Please ignore the following line: # S3 method for bspline norder(x, ...)

Value

An integer giving the order of the B-spline.

Arguments

x

Either a basisfd object or an object containing a basisfd object as a component.

...

optional arguments currently unused

Author

Spencer Graves

Details

norder throws an error of basisfd[['type']] != 'bspline'.

References

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.

See Also

create.bspline.basis