R/forcing.R
forcing.Rd
Declare a time varying covariate to be a forcing variable that moves individuals between model compartments at discrete times. Flow in and out of model compartments is allocated proportionally to the compartment counts in the source and destination compartments.
forcing(tcovar_name, from, to)
name of the time varying covariate
vector of compartment names from which individuals exit
vector of compartment names to which individuals enter
list containing the forcing specification