X-Git-Url: https://git.auder.net/?p=talweg.git;a=blobdiff_plain;f=pkg%2FR%2FcomputeError.R;fp=pkg%2FR%2FcomputeError.R;h=db5783e6f6271ccc309fe32cd576db6d87dd379c;hp=c3bc4f381da34112eca28f339db3093582ed9d67;hb=4f3fdbb8e2ac4bd57a4e27539a58ef0e7ec2304c;hpb=5037d6d061b86f7bc4baaf5c4614c6da9c9eaa1b diff --git a/pkg/R/computeError.R b/pkg/R/computeError.R index c3bc4f3..db5783e 100644 --- a/pkg/R/computeError.R +++ b/pkg/R/computeError.R @@ -4,8 +4,10 @@ #' #' @param data Object of class \code{Data} output of \code{getData} #' @param pred Object of class \code{Forecast} output of \code{computeForecast} -#' @param horizon Horizon where to compute the error -#' (<= horizon used in \code{computeForecast}) +#' @param predict_from First time step to consider (>= predict_from used in +#' \code{computeForecast()}) +#' @param horizon Horizon where to compute the error (<= horizon used in +#' \code{computeForecast}) #' #' @return A list (abs,MAPE) of lists (day,indices). The "indices" slots contain series #' of size L where L is the number of predicted days; i-th value is the averaged error