View source: R/build_tcovar_adjmat.R
build_tcovar_adjmat | R Documentation |
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)
rates |
list of rates in ste_dynamics |
tcovar_codes |
character vector of time-varying covariate names |
forcings |
list of forcings |
adjacency matrix for which rates need to be updated when a time-varying covariate changes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.