Plot benchmark summaries
Usage
plot_benchmarks(
grouping_var,
benchmark_scope,
benchmark_dir,
scores_list,
score_to_plot = "crps",
write_files = TRUE
)Arguments
- grouping_var
The variable to plot by, so in this case either
locationorforecast_date- benchmark_scope
The scope of the benchmarking (so in this case either
subset_forecastsorall_forecasts)- benchmark_dir
The directory where the benchmark tables live
- scores_list
The list of tables of recent scores
- score_to_plot
Which of the scores saved in the benchmarking tables to plot, options are
crps,bias, andae, defualt iscrps- write_files
Boolean indicating whether or not to save the plots to disk, default is TRUE