Learn R Programming

scoringutils (version 0.1.7.2)

correlation_plot: Plot Correlation Between Metrics

Description

Plots a coloured table of scores obtained using eval_forecasts

Usage

correlation_plot(scores, select_metrics = NULL)

Arguments

scores

A data.frame of scores as produced by eval_forecasts

select_metrics

A character vector with the metrics to show. If set to NULL (default), all metrics present in summarised_scores will be shown

Value

A ggplot2 object showing a coloured matrix of correlations between metrics

Examples

Run this code
# NOT RUN {
scores <- scoringutils::eval_forecasts(scoringutils::quantile_example_data)
scoringutils::correlation_plot(scores)
# }

Run the code above in your browser using DataLab