projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bugs
[talweg.git]
/
pkg
/
R
/
J_Zero.R
diff --git
a/pkg/R/J_Zero.R
b/pkg/R/J_Zero.R
index
16b6ed5
..
01ba9e3
100644
(file)
--- a/
pkg/R/J_Zero.R
+++ b/
pkg/R/J_Zero.R
@@
-8,7
+8,7
@@
#'
#' @aliases J_Zero
#'
#'
#' @aliases J_Zero
#'
-getZeroJumpPredict = function(data, today, memory, horizon, params, ...)
+getZeroJumpPredict = function(data, today, memory,
predict_from,
horizon, params, ...)
{
list(...)$first_pred - ifelse( predict_from >= 2,
data$getSerie(today)[predict_from-1], tail(data$getSerie(today-1),1) )
{
list(...)$first_pred - ifelse( predict_from >= 2,
data$getSerie(today)[predict_from-1], tail(data$getSerie(today-1),1) )