I have a data frame in R called info which includes several dates under the column Date, they are ordered in "%Y-%m-%d" I want to only have those values that are less then 6 days apart and remove the "outliers" anyone know how this can be done?
what the data frame looks like
'> info
           Date   ens seps
3    1951-01-08 mem01    2
4    1951-01-12 mem01    4
37   1959-12-08 mem01    4
42   1959-12-30 mem01    3
43   1960-01-01 mem01    2
47   1961-01-03 mem01    2
49   1961-01-18 mem01    2
50   1961-01-20 mem01    2
62   1964-11-29 mem01    4
93   1971-02-12 mem01    2
99   1972-02-15 mem01    2
100  1972-02-18 mem01    3
102  1972-02-21 mem01    2
119  1981-10-16 mem01    3
121  1981-10-19 mem01    2
131  1984-12-24 mem01    2
134  1987-01-02 mem01    2
 
     
    