X-Git-Url: https://git.auder.net/?p=talweg.git;a=blobdiff_plain;f=pkg%2FR%2Futils.R;h=3486ee96ec03ac98941b75d06506cd5c40654114;hp=64c3c0a1b5c586e009cc8ae44ff271a0c1a7f2b1;hb=546b0cb65870355a2a2c3705c91418570499d3a6;hpb=1041e053af6c432e19a9c31807cdc7c8bee7c4bd diff --git a/pkg/R/utils.R b/pkg/R/utils.R index 64c3c0a..3486ee9 100644 --- a/pkg/R/utils.R +++ b/pkg/R/utils.R @@ -98,17 +98,6 @@ getSimilarDaysIndices = function(index, limit, same_season) return ( days[1:min(limit,length(days))] ) } -#' getSerie -#' -#' Return a time-serie from its centered version + level -#' -#' @param data A list as returned by \code{getData} -#' @param index The index to return -#' -#' @export -getSerie = function(data, index) - data[[index]]$centered_serie + data[[index]]$level - #' getNoNA2 #' #' Get indices in data of no-NA series followed by no-NA, within [first,last] range.