SparseD | R Documentation |
Compute general difference matrices of order 1 to d - 1
for ordinary B-splines of order d
.
SparseD(xt, d)
xt |
full knot sequence for ordinary B-splines ( |
d |
B-spline order ( |
A list of sparse matrices (of "dgCMatrix" class), giving general difference matrices of order 1 to d - 1
.
Zheyuan Li zheyuan.li@bath.edu
require(gps.mgcv)
## example with ordinary B-splines
xt <- c(0, 0, 0, 0, 1, 3, 4, 4, 4, 4)
SparseD(xt, d = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.