Get plot of fit, nowcasted, and forecasted "global" R(t)
Arguments
- draws
A dataframe containing the posterior draws with the data joined to it. This is the
draws_df
output of a call towwinference()
. It expects the following column names:date
,pred_value
,draw
, andname
.- forecast_date
A string indicating the date we made the forecast, for plotting, in ISO8601 format YYYY-MM-DD
- n_draws_to_plot
An integer indicating how many draws from the posterior to include in the plot, default is
100