make_spline_basis: 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.
Value
A matrix of cubic spline basis values with `length(tgrid)` x `dof` entries.