forward_sim_func_wrap.Rd
Wrapper function to perform forward simulations
forward_sim_func_wrap( params, start_date, end_date, init_cond, beta_m, vac_inputs, beta_c, beta_d, t_normal, contact_matrices, tag )
params | List of model input parameters. |
---|---|
start_date | Start date of simulations (character string in YYYY-MM-DD format) |
end_date | End date of simulations (character string in YYYY-MM-DD format) |
init_cond | Named vector of initial conditions for model compartments |
beta_m | Transmission rate mean. |
vac_inputs | Vaccination inputs for model. This should be the output of convert_vac_schedule(). |
beta_c | Transmission rate when contact matrix changes to pre-pandemic (time > t_normal) |
beta_d | Transmission rate draws for determining uncertainty around the mean transmission rate |
t_normal | Time point to force model to switch to pre-pandemic contact matrix |
contact_matrices | List of contact matrices |
tag | Character string of name of output file |
Data frame of model outputs for each simulation