Skip to contents

Plot a heatmap of the relative crps by locations and forecast date for the head-to-head comparison

Usage

plot_rel_score_heatmap(scores, target_model, baseline_model, metric_to_compare)

Arguments

scores

A tibble of daily scores by forecast date, location, and model

target_model

Model for which to plot relative CRPS

baseline_model

Baseline model for the relative CRPS

metric_to_compare

Metric for which to compute the relative score. One of "wis" or "crps". Passed as the metric_to_compare argument to scoringutils::get_pairwise_comparisons() via forecasttools::summarise_scores_with_baseline().

Value

a ggplot object