sparse = TRUE), where \(n\) is the number of
values in newx and \(k\) is the number of
basis functions in object. Each row gives the
predicted values of the basis functions for the
appropriate value of newx.
Arguments
object
A hero_bspline object created by
bspline
newx
A numeric vector of values at which to
evaluate the B-spline functions or derivatives.
nderiv
An integer value specifying the derivative order of the B-splines. The default is 0.
sparse
A logical value indicating if the result
should be a sparse version of the
Matrix-class.