posterior_infections {epidemia} | R Documentation |
Generic function for getting posterior draws of daily infections over time
posterior_infections(object, ...)
## S3 method for class 'epimodel'
posterior_infections(object, newdata = NULL, draws = NULL, seed = NULL, ...)
object |
A fitted model object returned by |
... |
Not used. |
newdata |
If provided, the original |
draws |
Number of posterior draws to use. Defaults to the number of parameter draws in the fitted model. |
seed |
An optional seed. |
A named list with draws of the series, and vectors giving the corresponding dates and population.