Commit | Line | Data |
---|---|---|
25b75559 | 1 | #' Zero Forecaster |
e030a6e3 | 2 | #' |
25b75559 | 3 | #' Return 0 (and then adjust). Inherits \code{\link{Forecaster}} |
546b0cb6 | 4 | #' |
25b75559 | 5 | ZeroForecaster = R6::R6Class("ZeroForecaster", |
a66a84b5 | 6 | inherit = Forecaster, |
e030a6e3 | 7 | |
25b75559 | 8 | public = list( |
98e958ca | 9 | predictShape = function(data, today, memory, horizon, ...) |
2057c793 | 10 | rep(0, horizon) |
e030a6e3 BA |
11 | ) |
12 | ) |