This function is deprecated and may be removed in a future release.
This function visualizes and compares multiple forecast outputs generated by
generate_forecast().
It plots median predicted incidences with 80% and 90% predictive intervals.
plot_forecast_comparison(...)A ggplot2 object showing forecasted median incidences over time with shaded prediction intervals, colored by input source (i.e., model name).
Named forecast result objects produced by generate_forecast().
Each object should contain a data frame forecast_res_quantiles with columns:
date: Forecast date
p10, p50, p90: 10th, median, and 90th quantile predictions
(Optional) other quantiles if available
generate_forecast(), ggplot2::ggplot()