spim_simulate_prepare: Prepare for simulation

View source: R/simulate.R

spim_simulate_prepareR Documentation

Prepare for simulation

Description

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.

Usage

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


mrc-ide/spimalot documentation built on Oct. 15, 2024, 12:15 p.m.