work on doc
[talweg.git] / pkg / R / F_Zero.R
CommitLineData
25b75559 1#' Zero Forecaster
e030a6e3 2#'
c4c329f6
BA
3#' Flat prediction of next series of 'horizon' values.
4#'
5#' @format R6 class, inherits Forecaster
6#' @alias F_Zero
546b0cb6 7#'
25b75559 8ZeroForecaster = R6::R6Class("ZeroForecaster",
a66a84b5 9 inherit = Forecaster,
e030a6e3 10
25b75559 11 public = list(
98e958ca 12 predictShape = function(data, today, memory, horizon, ...)
2057c793 13 rep(0, horizon)
e030a6e3
BA
14 )
15)