bsp: Tool to approximate smooth functions by B-splines.

Description Usage Arguments Details Value Author(s) References

Description

bsp is used to approximate smooth functions by B-splines.

Usage

1
bsp(x,kn)

Arguments

x

values of the explanatory variable.

kn

(optional) the number of internal knots . The default value is [n^{1/5}], where n is the sample size

.

Details

This function uses the routine bs() of the R package splines.

Value

x

the B-spline basis matrix, which is cubic.

Author(s)

Luz Marina Rondon <lumarp@gmail.com> and Heleno Bolfarine

References

De Boor, C. (1978). A practical Guide to Splines. Applied Mathematical Sciences. Springer-Verlag, New York.



Search within the BayesGESM package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.