AbsErr: Calculate the absolute error between forecast and observation

Description Usage Arguments Value See Also Examples

View source: R/AbsErr.R

Description

Calculate the absolute error between forecast and observation

Usage

1
AbsErr(fcst, obs)

Arguments

fcst

a N-vector representing N time instances of real-valued forecasts

obs

a N-vector representing N time instances of real-valued observations

Value

numeric N-vector of absolute errors |fcst - obs|

See Also

SqErr, ScoreDiff, SkillScore

Examples

1
2

Example output

[1] 0.1929214

SpecsVerification documentation built on March 26, 2020, 7:55 p.m.