splintr | R Documentation |
Generate the basis matrix for a natural cubic splines with interpretable intercepts
splintr(..., centre = 0)
... |
Parameters passed to |
centre |
The |
A matrix of dimension length(x)
by df
,
like ns
. Attributes correspond to those of
ns
with an additional centre
attribute for
use by predict.splintr()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.