splineUpdate {ivmte} | R Documentation |
Constructing higher order splines
Description
This function recursively constructs the higher order splines
basis. Note that the function does not take into consideration the
order of the final basis function. The dimensions of the inputs
dicate this, and are updated in each iteration of the
recursion. The recursion ends once the row number of argument
bmat
reaches 1. This function was coded in accordance to
Carl de Boor's set of notes on splines, "B(asic)-Spline Basics".
Usage
splineUpdate(x, bmat, knots, i, current.order)
Arguments
x |
vector, the values at which to evaluate the basis function. |
bmat |
matrix. Each column of |
knots |
vector, the internal knots. |
i |
integer, the basis component of interest. |
current.order |
integer, the current order associated with the
argument |
Value
vector, the evaluation of the spline at each value in
vector x
.