Description Usage Arguments Value
View source: R/combineAndSummarize1.R
Plot reproduction number through time from a SEIJR trajectory sample
1 2 3 4 5 6 7 8 9 10 |
logdf |
Either a dataframe or a path to rds containing a data frame with posterior logs |
gamma0 |
rate of becoming infectious during incubation period |
gamma1 |
rate of recovery once infectious |
date_limits |
a 2-vector containing bounds for the plotting window. If the upper bound is missing, will use the maximum time in the trajectories |
path_to_save |
Will save a png here |
changePoints |
the time where beta changes |
a list with derived outputs from the trajectories. The first element is a ggplot object if you want to further customize the figure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.