View source: R/new_simulation.R
spim_simulate_control | R Documentation |
Create control parameters to run a set of simulations. This includes parameters that vary compared with the upstream simulation and grids of parameter types to loop over.
spim_simulate_control(
flavour,
regions,
date_start,
date_end,
expected,
parameters,
grid,
output
)
flavour |
The simulation flavour; this is a single string (e.g., "mtp" or "add_omicron") |
regions |
A vector of regions to simulate over. These must all be valid values in sircovid::regions |
date_start |
The start date, as an R |
date_end |
The end date of the simulation as an R |
expected |
A character vector of expected parameter names.
These are the names of things that must be present within
|
parameters |
A list of parameters. These might be direct
replacements against the baseline or structured lists of
parameters with names that correspond to those within |
grid |
The parameter grid, indicating the set of simulations
to run. It must have at least one row. Not all variables are
allowed in here; in particular, we disallow most of the |
output |
Output control, created by spim_simulate_control |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.