'update'
[talweg.git] / pkg / R / F_Neighbors.R
index 9af4725..32d5cff 100644 (file)
@@ -216,21 +216,6 @@ NeighborsForecaster = R6::R6Class("NeighborsForecaster",
        )
 )
 
-#' getNoNA2
-#'
-#' Get indices in data of no-NA series followed by no-NA, within [first,last] range.
-#'
-#' @inheritParams dateIndexToInteger
-#' @param first First index (included)
-#' @param last Last index (included)
-#'
-.getNoNA2 = function(data, first, last)
-{
-       (first:last)[ sapply(first:last, function(i)
-               !any( is.na(data$getCenteredSerie(i)) | is.na(data$getCenteredSerie(i+1)) )
-       ) ]
-}
-
 #' getConstrainedNeighbs
 #'
 #' Get indices of neighbors of similar pollution level (among same season + day type).