powered by
Assign seasons to months
season(x, lang = c("en", "es"))
A numeric vector of months or a vector of dates
Language to use.
A factor vector of the same length as x with the trimestre of each month.
x
# NOT RUN { season(1, lang = "en") season(as.Date("2017-01-01")) # }
Run the code above in your browser using DataLab