Skip to contents

Summarise Forecast Rts

Usage

summarise_forecast(fit_samples)

Arguments

fit_samples

A dataframe as produced by EpiSoon::forecast.

Value

A summarised dataframe.

Examples

if (FALSE) {
samples <- forecast_rt(example_obs_rts,
  model = function(...) {
    EpiSoon::bsts_model(
      model =
        function(ss, y) {
          bsts::AddSemilocalLinearTrend(ss, y = y)
        }, ...
    )
  },
  horizon = 7, samples = 10
)


summarise_forecast(samples)
}