R/mae.R
mae.Rd
Mean Absolute Error
mae(sim, obs)
numeric, simulated values
numeric, observed values
Mean absolute error between sim and obs.
mae(c(1:3), (2:4)) #> [1] 1