R/build_tcovar_adjmat.R
build_tcovar_adjmat.Rd
Constructs an adjacency matrix with rates given in the rows, time, and time-varying covariates on which they each depend given in columns. Thus, when time or a time-varying covariate changes, all of the non-zero entries in the corresponding column must be updated.
build_tcovar_adjmat(rates, tcovar_codes = NULL, forcings = NULL)
list of rates in ste_dynamics
character vector of time-varying covariate names
list of forcings
adjacency matrix for which rates need to be updated when a time-varying covariate changes.