Learn R Programming

performance (version 0.8.0)

performance_mae: Mean Absolute Error of Models

Description

Compute mean absolute error of models.

Usage

performance_mae(model, ...)

mae(model, ...)

Arguments

model

A model.

...

Arguments passed to or from other methods.

Value

Numeric, the mean absolute error of model.

Examples

Run this code
# NOT RUN {
data(mtcars)
m <- lm(mpg ~ hp + gear, data = mtcars)
performance_mae(m)
# }

Run the code above in your browser using DataLab