Skip to contents

Plot a heatmap of avg forecast performance by location and forecast date

Usage

heatmap_scores_by_loc_date(scores, metric, fig_file_dir)

Arguments

scores

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

metric

Metric to plot. One of "wis" or "crps"

fig_file_dir

A string indicating the directory to save the figures in

Value

a ggplot object