Description Usage Arguments Details Value Author(s) References See Also
View source: R/auxiliar_functions.r
Generate the Restricted cubic spline basis matrix for a polynomial spline.
1 |
x |
The predictor variable. |
m |
Spline order (number of nodes). |
knots |
Internal breakpoints that define the spline. |
scale |
logical; if |
The base matrix columns are scaled for optimization purposes. If not provieded, internal knots are determined using quantiles of x
.
Returns the basis matrix for the restricted cubic spline.
Fernando Massa, fmassa@iesta.edu.uy
durrelman1989raschreg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.