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