Learn R Programming

auditor (version 0.2.1)

scoreMAE: Mean Absolute Error

Description

Mean Absolute Error.

Usage

scoreMAE(object)

Arguments

object

An object of class ModelAudit.

Value

an object of class scoreAudit

See Also

score

Examples

Run this code
# NOT RUN {
library(car)
lm_model <- lm(prestige~education + women + income, data = Prestige)
lm_au <- audit(lm_model, data = Prestige, y = Prestige$prestige)
scoreMAE(lm_au)


# }

Run the code above in your browser using DataLab