Description Usage Arguments Details Value Examples
Calculates the mean absolute error (MAE) from observed and predicted values.
1 | mae(observed, predicted)
|
observed |
Numeric vector of observed values |
predicted |
Numeric vector of predicted values. The length shall be the same as for observed. |
mae = mean(abs(observed - predicted))
The mean absolute error (MAE) calculated from the observed and the predicted values.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.