[Stable] Combines the output produced internally by epinow into a single list.

construct_output(
  estimates,
  forecast = NULL,
  estimated_reported_cases,
  plots = NULL,
  summary = NULL,
  samples = TRUE
)

Arguments

estimates

List of data frames as output by estimate_infections

forecast

A list of data frames as output by forecast_infections

estimated_reported_cases

A list of dataframes as produced by estimates_by_report_date.

plots

A list of plots as produced by report_plots

summary

A list of summary output as produced by report_summary

samples

Logical, defaults to TRUE. Should samples be saved

Value

A list of output as returned by epinow