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