Progress agents in the "E" and "I" compartments to the next compartments
("I" and "R", respectively).
progress_disease(agents)
Arguments
agents |
A data.table containing agents. This data.table should have
columns:
seir : The SEIR status (integer index ranging from 1 to 4)
ticks : The number of time steps the agent has been in the compartment.
ei_shape , ei_scale , ir_shape , ir_scale : shape and scale
parameters for the probability distriubtions for transitions from the
current compartment to the next compartment for "E" to "I" and "I" to
"R", respectively.
|
Value
Invisibly returns a modified version of the agents
data table.
Examples
# ADD_EXAMPLES_HERE