enw_quantiles_to_long: Convert summarised quantiles from wide to long format

enw_quantiles_to_longR Documentation

Convert summarised quantiles from wide to long format

Description

Convert summarised quantiles from wide to long format

Usage

enw_quantiles_to_long(posterior)

Arguments

posterior

A data.frame as output by enw_posterior().

Value

A data.frame of quantiles in long format.

See Also

Functions used for postprocessing of model fits build_ord_obs(), enw_add_latest_obs_to_nowcast(), enw_nowcast_samples(), enw_nowcast_summary(), enw_posterior(), enw_pp_summary(), enw_summarise_samples(), subset_obs()

Examples

fit <- enw_example("nowcast")
posterior <- enw_posterior(fit$fit[[1]], var = "expr_lelatent_int[1,1]")
enw_quantiles_to_long(posterior)

seabbs/epinowcast documentation built on Sept. 20, 2024, 2:39 a.m.