R/posterior_latents.R
posterior_infectious.RdGeneric function for getting posterior draws of total infectiousness over time
posterior_infectious(object, ...)
# S3 method for class 'epimodel'
posterior_infectious(object, newdata = NULL, draws = NULL, seed = NULL, ...)A fitted model object returned by epim.
See epimodel-objects.
Not used.
If provided, the original data used
in object is overridden. Useful both for counterfactual
and prediction analysis
Number of posterior draws to use. Defaults to the number of parameter draws in the fitted model.
An optional seed.
A named list with draws of the series, and vectors giving the corresponding dates and population.