% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getError.R \name{getError} \alias{getError} \title{Get error} \usage{ getError(data, forecast, horizon = data$getStdHorizon()) } \arguments{ \item{data}{Dataset, object of class \code{Data} output of \code{getData}} \item{forecast}{Forecast object, class \code{Forecast} output of \code{getForecast}} \item{horizon}{Horizon where to compute the error (<= horizon used in \code{getForecast})} } \value{ A list (abs,MAPE) of lists (day,indices) } \description{ Obtain the errors between forecast and data }