#' Flat prediction: always forecast a serie of zeros.
#' This serie is then adjusted using the ".pjump" function (see \code{Forecaster} class).
#'
-#' @usage f <- ZeroForecaster$new(pjump)
+#' @usage # ZeroForecaster$new(pjump)
#'
#' @docType class
#' @format R6 class, inherits Forecaster
inherit = Forecaster,
public = list(
- predictShape = function(data, today, memory, horizon, ...)
- rep(0, horizon)
+ predictShape = function(data, today, memory, predict_from, horizon, ...)
+ rep(0, (horizon-predict_from+1))
)
)