performance_mae {performance} | R Documentation |
Compute mean absolute error of models.
performance_mae(model, ...) mae(model, ...)
model |
A model. |
... |
Arguments passed to or from other methods. |
Numeric, the mean absolute error of model
.
data(mtcars) m <- lm(mpg ~ hp + gear, data = mtcars) performance_mae(m)