powered by
Compute mean absolute error of models.
performance_mae(model, ...)mae(model, ...)
mae(model, ...)
Numeric, the mean absolute error of model.
model
A model.
Arguments passed down to lme4::bootMer() or boot::boot() for bootstrapped ICC, R2, RMSE etc.; for variance_decomposition(), arguments are passed down to brms::posterior_predict().
lme4::bootMer()
boot::boot()
variance_decomposition()
brms::posterior_predict()
data(mtcars) m <- lm(mpg ~ hp + gear, data = mtcars) performance_mae(m)
Run the code above in your browser using DataLab