Description Usage Arguments Details Value See Also
Run a hospital census scenario for a single set of model parameters. Results for several projected variables will be returned in a single data frame.
1 2 3 4 5 6 | run_scenario(
timevals,
params = list(),
counties = NULL,
scenarioName = "communityInfection"
)
|
timevals |
Times to output values for. If only a single value is provided, it is assumed to be a maximum time (days) to run to, and values will be output in one day steps from 0 to tmax. |
params |
List of parameter values, see details |
counties |
If provided, run just these counties |
scenarioName |
Name for the scenario; this will be copied into results |
The results returned will be:
New community infections in the selected counties
New symptomatic community infections in the selected counties
Total infected population in the selected counties
Symptomatic infected population in the selected counties
Recovered population in the selected counties
Remaining susceptible population in the selected counties
Cumulative infected population (includes those who later recovered)
Cumulative infected share of population (includes recovered)
UVA market share of symptomatic infections
The parameters for the model are:
(scalar) base value for initial transmissivity
(scalar) coefficient for population density in initial transmissivity
(scalar) Base recovery time. Average base recovery time for an infected person.
(scalar) Base incubation time. Average tie for an exposed person to become infected.
Time after infection for various events (RTS for details)
see definition of param_defaults
for definitions
Data frame with results (see details) over time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.