Simplify plots: version OK with R6 classes
[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 )