R/event_model.R
matrix_term.Rd
This function creates a matrix_term object, which is a set of regression variables stored as a numeric matrix.
matrix_term(varname, mat)
The name of the variable.
The matrix of values.
A matrix_term object.
Create a matrix_term object.
mat <- matrix(rnorm(100 * 10), 100, 10) mterm <- matrix_term("mterm", mat)