3 #' Flat prediction: always forecast a serie of zeros.
4 #' This serie is then adjusted using the ".pjump" function (see \code{Forecaster} class).
6 #' @usage # ZeroForecaster$new(pjump)
9 #' @format R6 class, inherits Forecaster
12 ZeroForecaster = R6::R6Class("ZeroForecaster",
16 predictShape = function(data, today, memory, predict_from, horizon, ...)
17 rep(0, (horizon-predict_from+1))