Description Usage Arguments Value Examples
View source: R/gen_scenario_results.R
A Function to Generate Scenario Results from the Sutherland Model
1 | gen_scenario_results(scenarios, parameter_samples, cores = 1, ...)
|
scenarios |
A dataframe of scenarios, see the examples for a structural example. |
parameter_samples |
A dataframe of parameter samples, see the examples for an example. |
cores |
The number of cores to use, defaults to one |
... |
Additional arguments passed to |
A dataframe combining the scenarios, parameter samples, and model results
1 2 3 4 5 6 7 | scenarios <- gen_annual_change_scenarios(TB_decrease = c(0.09, 0.05, 0.01),
cohorts_to_sim = 11, samples = 10)
parameter_samples <- sample_model_parameters(incidence_rates = sutherland_incidence_rates,
population_data = sutherland_data, samples = 10)
gen_scenario_results(scenarios, parameter_samples, cores = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.