Skip to contents

Mean Absolute Error

Usage

mae(sim, obs)

Arguments

sim

numeric, simulated values

obs

numeric, observed values

Value

Mean absolute error between sim and obs.

Examples

mae(c(1:3), (2:4))
#> [1] 1