Calculate the absolute error between forecast and observation
AbsErr(fcst, obs)
a N-vector representing N time instances of real-valued forecasts
a N-vector representing N time instances of real-valued observations
numeric N-vector of absolute errors |fcst - obs|
SqErr, ScoreDiff, SkillScore
# NOT RUN { data(eurotempforecast) mean(AbsErr(rowMeans(ens), obs)) # }
Run the code above in your browser using DataCamp Workspace