https://github.com/cran/ftsa
Raw File
Tip revision: ad992279e8b07a246143211f31cfd84863fae1a8 authored by Shang H on 21 February 2013, 07:52:54 UTC
version 3.7
Tip revision: ad99227
me.R
me = function(forecast, true)
{
   if (length(forecast) != length(true))
       stop("ME: the lengths of input vectors must be the same.")
   err = mean(true - forecast)
   return(round(err, 6))
}
back to top