Description Usage Arguments Value
View source: R/run_forward_simulations.R
Run forward simulations
1 2 | run_forward_simulations(data, baseline_parameters,
intervention_parameters = NULL, n_iter, seed = NULL)
|
data |
a list containing 4 elements:
|
baseline_parameters |
a dataframe with values of all the parameters of the transmission model:
|
intervention_parameters |
a dataframe with the intervention settings:
|
n_iter |
the number of forward simulations. |
seed |
set a seed for reproducibility of the simulations. |
The function returns a list with three elements:
the number of positive tests in each simulation.
the number of negative tests in each simulation.
the random samples from the chains that were used for the simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.