This function plots a line chart or heatmap of the Weighted Interval Score (WIS) for different models and/or locations over time.
Arguments
- scores_df
A dataframe containing the WIS scores, date, model, and location_name columns.
- by
A character vector specifying how to plot the data. Valid options are "tile" (heatmap) and "date" (line chart).
- range
A character vector specifying the type of scaling to apply to the WIS scores. Valid options are "abs" (absolute scaling) and "scaled" (scaling based on another model's WIS scores).
- scale_model
A character vector indicating the model to use for scaling when range = "scaled".
- limit
A numeric vector specifying the maximum value for the WIS score.