bsplineS {fda} | R Documentation |
Evaluates a set of B-spline basis functions, or a derivative of these functions, at a set of arguments.
bsplineS(x, breaks, norder=4, nderiv=0)
x |
A vector of argument values at which the B-spline basis functions are to evaluated. |
breaks |
A strictly increasing set of break values defining the B-spline basis. The argument values x should be within the interval spanned by the break values. |
norder |
The order of the B-spline basis functions. The order less one is the degree of the piece-wise polynomials that make up any B-spline function. The default is order 4, meaning piece-wise cubic. |
nderiv |
The derivative to be evaluated. The derivative must not exceed the order. The default derivative is 0, meaning that the basis functions themselves are evaluated. |
A matrix of function values. The number of rows equals the number of arguments, and the number of columns equals the number of basis functions.