https://github.com/cran/ftsa
Raw File
Tip revision: a834c8869e7876da7e5af124ab21bad871dc21fa authored by Shang H on 05 April 2013, 13:34:19 UTC
version 3.8
Tip revision: a834c88
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