B_basis | R Documentation |
Construct the J basis functions for the splines evaluated on a grid.
B_basis(xgrid, knots)
xgrid |
grid where we want to evaluate the spline functions (vector of length n) |
knots |
vector of knots for the splines (vector of length K) |
n x (K+1) - matrix representing the value of each basis function evaluated on xgrid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.