projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work on doc
[talweg.git]
/
pkg
/
R
/
computeForecast.R
diff --git
a/pkg/R/computeForecast.R
b/pkg/R/computeForecast.R
index
53dbc14
..
1d69777
100644
(file)
--- a/
pkg/R/computeForecast.R
+++ b/
pkg/R/computeForecast.R
@@
-1,6
+1,8
@@
#' Compute forecast
#'
#' Compute forecast
#'
-#' Predict time-series curves for the selected days indices (lines in data).
+#' Predict time-series curves for the selected days indices.
+#'
+#' TODO: details
#'
#' @param data Object of type \code{Data}, output of \code{getData()}.
#' @param indices Indices where to forecast (the day after); integers relative to the
#'
#' @param data Object of type \code{Data}, output of \code{getData()}.
#' @param indices Indices where to forecast (the day after); integers relative to the
@@
-34,8
+36,6
@@
#' memory=500, horizon=12, ncores=1)
#' \dontrun{#Sketch for real-time mode:
#' data <- Data$new()
#' memory=500, horizon=12, ncores=1)
#' \dontrun{#Sketch for real-time mode:
#' data <- Data$new()
-#' # Initialize: first day has no predictions attached
-#' data$initialize()
#' forecaster <- MyForecaster$new(myJumpPredictFunc)
#' repeat {
#' # In the morning 7am+ or afternoon 1pm+:
#' forecaster <- MyForecaster$new(myJumpPredictFunc)
#' repeat {
#' # In the morning 7am+ or afternoon 1pm+: