make_spline_basis {incidental} | R Documentation |
Create spline basis matrix
Description
This function creates basis matrix for spline model using cubic splines.
Usage
make_spline_basis(dof, tgrid)
Arguments
dof |
An integer degrees of freedom. |
tgrid |
A grid of time values. |
Value
A matrix of cubic spline basis values with 'length(tgrid)' x 'dof' entries.
[Package incidental version 0.1 Index]