Make hospital forecast comparison figure
Usage
make_fig3_forecast_comp_fig(
hosp_quantiles,
loc_to_plot,
horizon_to_plot,
horizon_days_ahead,
days_to_show_prev_data = 14
)
Arguments
- hosp_quantiles
A tibble containing the calibrated hospital admissions data, the evaluation hospital admissions data, and the quantiles of the calibrated and forecasted admissions
- loc_to_plot
A string indicating the state abbreviations of the state to plot
- horizon_to_plot
A string indicating what horizon period to plot, one of
nowcast
,1 wk
, or4 wks
- horizon_days_ahead
An integer corresponding to the horizon days to plot
- days_to_show_prev_data
An ingeger indicating how many days before the last forecast date to show the data, default is
14