I\'m trying to come up with some code that will look at a date and then assign it to a fiscal year. I\'m totally stuck.
I have a variable that contains dates in POS
Adding to G. Grothendieck's nice response. With lubridate:
lubridate
year(dates) + (month(dates) >= 5)