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