prepare report on one full year (2015)
[talweg.git] / pkg / R / utils.R
index bc80030..7e4e332 100644 (file)
@@ -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