View source: R/splineFunctions.R
| getBbasis | R Documentation | 
A function returning the piecewise polynomial coefficients for a B-spline basis function i.e. the basis functions.
getBbasis(x, knots, degree, force = FALSE)
| x | a vector of data | 
| knots | a vector of knots in ascending order. The first and last knots must be respectively the minimum and maximum of x. | 
| degree | the degree of the spline | 
| force | logical: skip check on knots? (not recommended!) | 
the knots and the piecewise polynomial coefficients for a B-spline basis function i.e. the basis functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.