Explore scenarios using gridding with sampling for parameters not in the grid. Parameters that
are included in the grid are currently hard coded. Use the future
package to control parallisation
outside of the function.
parameter_sweep(scenarios = NULL, samples = 1, sim_fn = NULL)
A dataframe containing all gridded scenarios - see the examples for the required structure. Defaults to NULL.
Numeric, defaults to 1. The number of samples to take.
Function, defaults to NULL. The vectorised model simulation function - see the examples for usage.
A nested tibble containing the parameters for each scenario and a nested list of output
from wuhan_sim
.