library(magrittr) # pipe operator
scores <- example_quantile %>%
as_forecast_quantile %>%
score()
scores <- summarise_scores(scores, by = c("model", "target_type"))
scores <- summarise_scores(
scores, by = c("model", "target_type"),
fun = signif, digits = 2
)
plot_heatmap(scores, x = "target_type", metric = "bias")
Run the code above in your browser using DataLab