projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clarify data acquisition; TODO: improve doc + usage
[talweg.git]
/
pkg
/
R
/
F_Zero.R
diff --git
a/pkg/R/F_Zero.R
b/pkg/R/F_Zero.R
index
ff6eb52
..
ac970c4
100644
(file)
--- 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}}
#' Zero Forecaster
#'
#' Return 0 (and then adjust). Inherits \code{\link{Forecaster}}
+#'
ZeroForecaster = R6::R6Class("ZeroForecaster",
ZeroForecaster = R6::R6Class("ZeroForecaster",
- inherit =
"Forecaster"
,
+ inherit =
Forecaster
,
public = list(
public = list(
- predictShape = function(today, memory, horizon, ...)
- rep(0
.
, horizon)
+ predictShape = function(
data,
today, memory, horizon, ...)
+ rep(0, horizon)
)
)
)
)