Plot coverage at specified ranges
Usage
make_plot_coverage_range(
scores_quantiles,
ranges,
time_period,
fig_file_dir = NULL,
write_files = FALSE
)
Arguments
- scores_quantiles
A tibble of scores by location, forecast date, date and model, containing the outputs of
scoringutils::score()
on quantiles plus metadata transformed into a tibble.- ranges
A numeric vector of credible interval ranges to plot, spanning from 0 to 100.
- time_period
string indicating time period of fig to save
- fig_file_dir
string indicating directory to save figure in, default is
NULL
- write_files
boolean indicating whether to save file, default is FALSE