Using the user-specified parameters or the default parameters, computes the basis matrix that will be used for building the tree.
getBasisMat(yvar, tvar, idvar, data, knots = NULL, df, degree, intercept,
gridPoints, nGrid = 7)
Name of response variable (string)
Name of time variable (string)
Name of ID variable (string)
Full dataset
Knots argument specified by user. Specifies location of INTERNAL knots.
Degrees of freedom argument specified by user
The degree of the spline polynomial
Whether or not to use an intercept
Optional. A vector of numbers that will be used as the grid on which to evaluate the projection sum of squares. Should fall roughly within the range of the time variable.
Number of grid points to evaluate split function at.
The basis matrix to be used for the tree building process