Hi everyone,
I need help with a simple operation.
I have the following tibble:
tibble(months = as.character(c("April", "May", "October", "November", "December", "August", "May", "January", "February", "March", "July", "June")))
I would like to add a variable to this tibble called "season" that contains the following observation:
-"Winter" when months is = to January, February or March
-"Spring" when month is = to April, March, June
-"Summer" when month is = to July, August, September
-"Fall" when month is = to October, November, December
Thanks for the help