Description Usage Arguments Value Author(s) Examples
View source: R/run_scenario_grid.R
Run the scenario analysis grid.
1 2 3 4 5 6 7 8 9 |
end_date |
Character string in the format |
samples |
Numeric, defaults to 1. The number of samples to take for each scenario. |
upper_case_bound |
Numeric, defaults to |
start_date |
Character string in the format |
show_progress |
Logical, defaults to FALSE. Show progress be shown. |
delay_sample_func |
Function to generate sample reporting delays. If not supplied defaults to a delay function fitted to the linelist of Chinese cases. |
kept_dates |
Character vector with dates in the format |
A data.frame of scenarios as returned by scenario_analysis
Sam Abbott
1 2 3 4 5 6 7 8 9 10 11 12 | ## Example
## Not run:
grid_results <- run_scenario_grid(end_date = "2020-01-25", samples = 1,
upper_case_bound = 100, show_progress = TRUE,
kept_dates = c("2020-01-01", "2020-01-08", "2020-01-15", "2020-01-25"))
grid_results
## End(Not run)
## Code
run_scenario_grid
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.