get_correlations {scoringutils} | R Documentation |
Calculate correlation between metrics
Description
Calculate the correlation between different metrics for a data.frame of
scores as produced by score()
.
Usage
get_correlations(scores, metrics = get_metrics.scores(scores), ...)
Arguments
scores |
An object of class |
metrics |
A character vector with the metrics to show. If set to
|
... |
Additional arguments to pass down to |
Value
An object of class scores
(a data.table with an additional
attribute metrics
holding the names of the scores) with correlations
between different metrics
Examples
library(magrittr) # pipe operator
scores <- example_quantile %>%
as_forecast_quantile() %>%
score()
get_correlations(scores)
[Package scoringutils version 2.1.0 Index]