Description Usage Arguments Value See Also Examples
Evaluate a set of basis functions or their derivatives at a set of argument values.
1 | getbasismatrix(evalarg, basisobj, nderiv=0)
|
evalarg |
a vector of arguments values. |
basisobj |
a basis object. |
nderiv |
a nonnegative integer specifying the derivative to be evaluated. |
a matrix of basis function or derivative values. Rows correspond to argument values and columns to basis functions.
1 2 3 4 | # Minimal example: a B-spline of order 1, i.e., a step function
# with 0 interior knots:
bspl1.1 <- create.bspline.basis(norder=1, breaks=0:1)
getbasismatrix(seq(0, 1, .2), bspl1.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.