forcing | R Documentation |
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)
tcovar_name |
name of the time varying covariate |
from |
vector of compartment names from which individuals exit |
to |
vector of compartment names to which individuals enter |
list containing the forcing specification
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.