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