Learn R Programming

staTools (version 0.1.0)

MAE: Mean Absolute Error

Description

Mean Absolute Error.

Usage

MAE(x, y)

Arguments

x,y
Two vectors of the same length.

Examples

Run this code
x = runif(10)
y = runif(10)
MAE(x,y)

Run the code above in your browser using DataLab