When forecasts made on multiple forecasts dates are plotted at the same time, all of the forecasts are connected even though they should not be and this is not desirable behavior. See the attached images at the bottom for the desired behavior (achievable using covidHubUtils::plot_forecasts()) vs the current behavior demonstrated by hubVis::plot_step_ahead_model_output.
This behavior is particularly noticeable when there is a large gap between forecast dates, like during the off season for flu forecasting from around June to the end of September, when there should be no plotted forecasts.
A simple, reproducible example is given below using the data in the attached zip file:
When forecasts made on multiple forecasts dates are plotted at the same time, all of the forecasts are connected even though they should not be and this is not desirable behavior. See the attached images at the bottom for the desired behavior (achievable using
covidHubUtils::plot_forecasts()
) vs the current behavior demonstrated byhubVis::plot_step_ahead_model_output
.This behavior is particularly noticeable when there is a large gap between forecast dates, like during the off season for flu forecasting from around June to the end of September, when there should be no plotted forecasts.
A simple, reproducible example is given below using the data in the attached zip file:
flu_baseline_truth.zip