Prepare combined output for simulations. This carries out maintenance for the state - upgrading state if sircovid has updated (within reason), sampling starting parameters, reducing to selected regions and (potentially) adding empty strain or booster compartments.

spim_simulate_prepare(
  combined,
  simulate_parameters,
  n_par,
  regions = NULL,
  seed_voc = FALSE
)

Arguments

combined

A "combined" object

simulate_parameters

A nested list of simulation parameters

n_par

The number of parameters to sample

regions

Character vector of regions to use

seed_voc

Logical, indicating if seeding a new VOC