R/posterior_latents.R
posterior_rt.Rd
Generic function for getting posterior draws of the time-varying reproduction rates
posterior_rt(object, ...) # S3 method for epimodel posterior_rt( object, newdata = NULL, draws = NULL, seed = NULL, adjusted = TRUE, ... )
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. |
adjusted | Flag whether to return the adjusted reproduction rates. Defaults to TRUE. |
A named list with draws of the series, and vectors giving the corresponding dates and population.