https://github.com/cran/ftsa
Raw File
Tip revision: 9bf6f03951ba62e84fc9c6e1728865f199ce4bb0 authored by Han Lin Shang on 01 November 2018, 18:40:03 UTC
version 5.2
Tip revision: 9bf6f03
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