Description Usage Arguments Details Value Author(s) References

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

1 | ```
bsp(x,kn)
``` |

`x` |
values of the explanatory variable. |

`kn` |
(optional) the number of internal knots . The default value is |

.

This function uses the routine `bs()`

of the R package *splines*.

`x` |
the B-spline basis matrix, which is cubic. |

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.