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