Description Usage Arguments Value
View source: R/posterior_latents.R
Generic function for getting posterior draws of total infectiousness over time
1 2 3 4 | posterior_infectious(object, ...)
## S3 method for class 'epimodel'
posterior_infectious(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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.