get_correlations | R Documentation |
Calculate the correlation between different metrics for a data.frame of
scores as produced by score()
.
get_correlations(scores, metrics = get_metrics(scores), digits = NULL, ...)
scores |
An object of class |
metrics |
A character vector with the metrics to show. If set to
|
digits |
A number indicating how many decimal places the result should
be rounded to. By default ( |
... |
Additional arguments to pass down to |
An object of class scores
(a data.table with an additional
attribute metrics
holding the names of the scores) with correlations
between different metrics
scores <- score(as_forecast(example_quantile))
get_correlations(scores, digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.