I have a sequence of dates in R with 2 months.
Example:
2020-01-28 / 2020-01-29 / 2020-01-30 / 2020-01-31 / 2020-02-01 / 2020-02-02
I need to extract the dates with the first month, in that case, January. But, I'm not able to do this.
I already tried to use subset
, but didn't work.