Description Usage Arguments Value Examples
View source: R/absolute_error.R
Caclulate absolute error as
abs(true_value - prediction)
1 | abs_error(true_values, predictions)
|
true_values |
A vector with the true observed values of size n |
predictions |
numeric vector with predictions, corresponding to the quantiles in a second vector, 'quantiles'. |
vector with the absolute error
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.