spsm_cubespline_design | R Documentation |
Get design matrix for finding regression splines coefficients under wiggliness penalization
spsm_cubespline_design(X, d, xi, W = NULL)
X |
a vector of values at which penalized cubic B-splines are to be evaluated |
d |
the number of B-spline functions in the basis. If negative, knots are evenly spaced. |
xi |
a parameter for penalizing towards smoothness |
W |
a vector of observation weights |
a list with the knots, the empirical centerings of the columns, and some matrices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.