Description Usage Arguments Value Note Author(s) References See Also Examples

Evaluate the value of the B-spline function with knots `knots`

,
order `ord`

, and coefficients `coef`

at value(s) `x`

.

1 |

`x` |
Numerical value or vector. The value(s) at which to evaluate the B-spline. |

`knots` |
Numerical vector. The knot positions/sites of the B-spline function. |

`ord` |
An integer >=1. The order of the B-spline function. Equals degree plus 1. |

`coef` |
A numerical vector. The coefficients (de Boor points) defining the B-spline function. |

A scalar or a vector of length equal to that of `x`

.

In contrast to the implementation based on the `splineDesign`

function from the `splines`

package, this version of the B-spline
function is left-continuous at the rightmost knot site.

Feng Chen <feng.chen@unsw.edu.au>

de Boor, C. (2001) A Practical Guide to Splines. Revised Edition. Springer: New York.

1 2 3 |

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.