Simplify plots: version OK with R6 classes
[talweg.git] / pkg / R / F_Zero.R
CommitLineData
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}}
6ZeroForecaster = R6::R6Class("ZeroForecaster",
a66a84b5 7 inherit = Forecaster,
e030a6e3 8
25b75559 9 public = list(
98e958ca 10 predictShape = function(data, today, memory, horizon, ...)
e030a6e3 11 rep(0., horizon)
e030a6e3
BA
12 )
13)