X-Git-Url: https://git.auder.net/rpsls.js?a=blobdiff_plain;f=pkg%2FR%2FForecast.R;h=ff7fb8d0bc42138aa43a7cfc32a1c5156019dbeb;hb=a3344f7591f6f4b3d337a69e4a568e9b16e33415;hp=bb665bdf8bfda8f205aab91a71ac60e94fcc2baf;hpb=689aa1d3c58e8b1e9fdfa9b895ca38c7228f56cc;p=talweg.git diff --git a/pkg/R/Forecast.R b/pkg/R/Forecast.R index bb665bd..ff7fb8d 100644 --- a/pkg/R/Forecast.R +++ b/pkg/R/Forecast.R @@ -3,13 +3,11 @@ #' Forecast encapsulation as a list (days where prediction occur) of lists (components). #' #' The private field .pred is a list where each cell contains the predicted variables for -#' a period of time of H<=24 hours, from hour P+1 until P+H, where P+1 is taken right -#' after the end of the period designated by \code{getIndexInData()}. In other terms, -#' \code{forecast$getForecast(i)} return forecasts for \code{data$getSerie(i+1)}. -#' Each cell .pred[[i]] is itself a list containing three slots, as described in the -#' 'field' section. +#' a period of time of H-P+1<=24 hours, from hour P until H, where P == predict_from. +#' \code{forecast$getForecast(i)} output forecasts for +#' \code{data$getSerie(forecast$getIndexInData(i))}. #' -#' @usage f <- Forecast$new(dates) +#' @usage # Forecast$new(dates) #' #' @field .pred List with #' \itemize{