run_parms: Run the scenario for a vector of likelihood parameters

Description Usage Arguments See Also

View source: R/sim.R

Description

This function extracts the parameters that need to be passed to run_scenario, figures out the time values to use, and filters out the fractional days from the output.

Usage

1
run_parms(parms, scenario_name = "Scen", tmax = 273, aggregate = FALSE)

Arguments

parms

Vector of parameters used in the likelihood function (q.v., gen_likelihood). Unlike with the likelihood function, there is no provision for default parameters

scenario_name

Optional name for the scenario

tmax

Maximum time to run to (default is 273, which is 2020-09-30)

aggregate

If TRUE, aggregate across counties at each time. Otherwise, return the unaggregated data.

See Also

run_scenario


rplzzz/CovMitigation documentation built on June 7, 2021, 8:48 a.m.