Learn R Programming

scoringutils (version 1.2.2)

correlation: Correlation Between Metrics

Description

Calculate the correlation between different metrics for a data.frame of scores as produced by score().

Usage

correlation(scores, metrics = NULL)

Value

A data.table with correlations for the different metrics

Arguments

scores

A data.table of scores as produced by score().

metrics

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

Examples

Run this code
scores <- score(example_quantile)
correlation(scores)

Run the code above in your browser using DataLab