X-Git-Url: https://git.auder.net/?p=talweg.git;a=blobdiff_plain;f=pkg%2FR%2Futils.R;fp=pkg%2FR%2Futils.R;h=7e4e332b7465284d1d422b32bb9c19fa058c1a37;hp=bc80030f3ea3df16c6718ef220bd3ea7767aa661;hb=f71b975b140342f7ea80275359b7f4f9aa75153a;hpb=78ac74b6b27bc61853ee376094bcb78df0ef8a65 diff --git a/pkg/R/utils.R b/pkg/R/utils.R index bc80030..7e4e332 100644 --- a/pkg/R/utils.R +++ b/pkg/R/utils.R @@ -113,8 +113,8 @@ getSimilarDaysIndices = function(index, data, limit, same_season, # .isSameSeason = function(month, month_ref) { - if (month_ref == 3) #TODO: same as Bruno (but weird) - return (month %in% c(2,3,4,9,10)) +# if (month_ref == 3) #TODO: same as Bruno (but weird) +# return (month %in% c(2,3,4,9,10)) if (month_ref %in% c(11,12,1,2)) #~= mid-polluted return (month %in% c(11,12,1,2)) if (month_ref %in% c(3,4,9,10)) #~= high-polluted