swh:1:snp:3a44eb759780145deea094ac2a25c5049546a085
Raw File
Tip revision: 40843892bfe0516f9b20b9969440ace2924d33a9 authored by Han Lin Shang on 22 February 2010, 08:04:49 UTC
version 1.5
Tip revision: 4084389
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