projects
/
talweg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3c46f2c6959bbcced5bd8e62863242a393415d23
[talweg.git]
/
pkg
/
R
/
F_Zero.R
1
#' Zero Forecaster
2
#'
3
#' Flat prediction of next series of 'horizon' values.
4
#'
5
#' @format R6 class, inherits Forecaster
6
#' @alias F_Zero
7
#'
8
ZeroForecaster = R6::R6Class("ZeroForecaster",
9
inherit = Forecaster,
10
11
public = list(
12
predictShape = function(data, today, memory, horizon, ...)
13
rep(0, horizon)
14
)
15
)