View source: R/scoreForecast.R
| mae | R Documentation |
Mean absolute error
mae(observed, predicted)
observed |
numeric vector of realized values |
predicted |
numeric vector of point predictions (same length/order) |
a single numeric value
mae(c(10, 20, 30), c(12, 18, 33))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.