X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=pkg%2FR%2Fplot.R;h=9a7a1ee55181c14704a1cf59f587d22a7ca6944b;hb=25b75559e2d9bf84e2de35b851d93fefdae36e17;hp=7b5f2b5d599f9556a32b1ddbf68ee3f304990fcc;hpb=841b7f5a10742afa28707ebf7dca273b38d8b8e4;p=talweg.git diff --git a/pkg/R/plot.R b/pkg/R/plot.R index 7b5f2b5..9a7a1ee 100644 --- a/pkg/R/plot.R +++ b/pkg/R/plot.R @@ -29,7 +29,7 @@ plotCurves <- function(data, indices=seq_len(data$getSize())) #' @description Plot measured curve (in black) and predicted curve (in red) #' #' @param data Object return by \code{getData} -#' @param pred Object as returned by \code{getForecast} +#' @param pred Object as returned by \code{computeForecast} #' @param index Index in forecasts #' #' @export @@ -63,21 +63,19 @@ computeFilaments <- function(data, index, limit=60, plot=TRUE) L = length(ref_serie) # Determine indices of no-NAs days followed by no-NAs tomorrows - first_day = ifelse(length(data$getCenteredSerie(1))