make_spline_basis: Create spline basis matrix

Description Usage Arguments Value

View source: R/spline_model.R

Description

This function creates basis matrix for spline model using cubic splines.

Usage

1
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.


incidental documentation built on Sept. 16, 2020, 5:07 p.m.