Control whether outbreak simulation continues stepping
Source:R/aux_functions.R
outbreak_continue.RdUsed in a while loop to determine whether the outbreak_model()
continues to call outbreak_step(), or to end the simulation.
Arguments
- case_data
a
data.table: cases in outbreak so far; initially generated byoutbreak_setup()- sim
a
listwith class<ringbp_sim_opts>: the simulation control options for the ringbp model, returned bysim_opts()