#' @description Obtain the errors between forecast and data
#'
#' @param data Dataset, object of class \code{Data} output of \code{getData}
-#' @param forecast Forecast object, class \code{Forecast} output of \code{getForecast}
-#' @param horizon Horizon where to compute the error (<= horizon used in \code{getForecast})
+#' @param forecast Forecast object, class \code{Forecast} output of \code{computeForecast}
+#' @param horizon Horizon where to compute the error (<= horizon used in \code{computeForecast})
#'
#' @return A list (abs,MAPE) of lists (day,indices)
#'
#' @export
-getError = function(data, forecast, horizon=data$getStdHorizon())
+computeError = function(data, forecast, horizon=data$getStdHorizon())
{
L = forecast$getSize()
mape_day = rep(0, horizon)