plot_reproductive_epi {epiworldRShiny} | R Documentation |
Plot Rt
Description
This function generates a plot of the reproductive number over time
Usage
plot_reproductive_epi(model)
Arguments
model |
The model object |
Value
A plot displaying the reproductive number for the model over the course of the simulation
See Also
Other Server side functions:
find_scale()
,
plot_epi()
,
pop_generator()
Examples
library(epiworldR) # for ModelSEIRCONN function
model <- ModelSEIRCONN("COVID-19", n = 1000, prevalence = 0.05,
contact_rate = 4, transmission_rate = 0.1,
incubation_days = 7, recovery_rate = 0.14)
run(model, ndays = 100, seed = 123)
plot_reproductive_epi(model)
[Package epiworldRShiny version 0.1-0 Index]