quantiles_to_long: Convert summarised quantiles from wide to long format

quantiles_to_longR Documentation

Convert summarised quantiles from wide to long format

Description

Convert summarised quantiles from wide to long format

Usage

quantiles_to_long(posterior)

Arguments

posterior

A dataframe as output by fv_tidy_posterior(), fv_extract_forecast(), etc.

Value

A data frame of quantiles in long format.

See Also

Functions used for postprocessing of model fits convert_to_stanfit(), extract_draws(), extract_forecast_dates(), fv_extract_forecast(), fv_posterior(), fv_tidy_posterior(), link_dates_with_posterior(), link_obs_with_posterior(), plot.fv_posterior(), print.fv_posterior(), summary.fv_posterior(), update_voc_label()

Examples

posterior <- fv_example(strains = 2, type = "posterior")
long_posterior <- quantiles_to_long(posterior)
long_posterior

epiforecasts/forecast.vocs documentation built on May 14, 2023, 2 p.m.