Commit | Line | Data |
---|---|---|
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(today, memory, horizon, ...) | |
11 | rep(0., horizon) | |
12 | ) | |
13 | ) |