X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=pkg%2FR%2FF_Zero.R;h=4f57ba2ae947f9c6a6c0483750e0e8c12c354b09;hb=ff5df8e310b73883565761ab4b1aa5a0672e9f27;hp=ff6eb52aa5bcf74b87c2a8291eacd066cff1b30c;hpb=25b75559e2d9bf84e2de35b851d93fefdae36e17;p=talweg.git diff --git a/pkg/R/F_Zero.R b/pkg/R/F_Zero.R index ff6eb52..4f57ba2 100644 --- a/pkg/R/F_Zero.R +++ b/pkg/R/F_Zero.R @@ -4,10 +4,10 @@ #' #' Return 0 (and then adjust). Inherits \code{\link{Forecaster}} ZeroForecaster = R6::R6Class("ZeroForecaster", - inherit = "Forecaster", + inherit = Forecaster, public = list( - predictShape = function(today, memory, horizon, ...) + predictShape = function(data, today, memory, horizon, ...) rep(0., horizon) ) )