Returns a variety of quantiles and means of the posterior predictive distribution and the expected case numbers.

tidy_seir(x, resample_y_rep = 10, data_type_names = NULL)

Arguments

x

Output from project_seir().

resample_y_rep

The number of times to resample from the observation distribution. Currently only set up for NB2 models.

data_type_names

An optional named character vector to translate the data type numbers into names. E.g. c("Reported cases" = 1, "Hospitalizations" = 2).

Value

A data frame

Details

See project_seir() for an example.