-#' @include Forecaster.R
-#'
#' Zero Forecaster
#'
-#' Return 0 (and then adjust). Inherits \code{\link{Forecaster}}
+#' Flat prediction of next series of 'horizon' values.
+#'
+#' @format R6 class, inherits Forecaster
+#' @alias F_Zero
+#'
ZeroForecaster = R6::R6Class("ZeroForecaster",
inherit = Forecaster,
public = list(
predictShape = function(data, today, memory, horizon, ...)
- rep(0., horizon)
+ rep(0, horizon)
)
)