4f57ba2ae947f9c6a6c0483750e0e8c12c354b09
[talweg.git] / pkg / R / F_Zero.R
1 #' @include Forecaster.R
2 #'
3 #' Zero Forecaster
4 #'
5 #' Return 0 (and then adjust). Inherits \code{\link{Forecaster}}
6 ZeroForecaster = R6::R6Class("ZeroForecaster",
7 inherit = Forecaster,
8
9 public = list(
10 predictShape = function(data, today, memory, horizon, ...)
11 rep(0., horizon)
12 )
13 )