various fixes (especially in plotFbox and Neighbors shape predict
[talweg.git] / pkg / R / computeForecast.R
similarity index 94%
rename from pkg/R/getForecast.R
rename to pkg/R/computeForecast.R
index 8efcff8..1a7d8ba 100644 (file)
@@ -28,7 +28,7 @@
 #' exo_data = system.file("extdata","meteo_extra_noNAs.csv",package="talweg")
 #' data = getData(ts_data, exo_data, input_tz = "Europe/Paris",
 #'   working_tz="Europe/Paris", predict_at=7)
-#' pred = getForecast(data, 2200:2230, "Persistence", "Persistence", 500, 12)
+#' pred = computeForecast(data, 2200:2230, "Persistence", "Persistence", 500, 12)
 #' \dontrun{#Sketch for real-time mode:
 #' data = new("Data", ...)
 #' forecaster = new(..., data=data)
@@ -38,7 +38,7 @@
 #'   #do_something_with_pred
 #' }}
 #' @export
-getForecast = function(data, indices, forecaster, pjump=NULL,
+computeForecast = function(data, indices, forecaster, pjump=NULL,
        memory=Inf, horizon=data$getStdHorizon(), ...)
 {
        # (basic) Arguments sanity checks