[R] Week number calculation

Hosack, Michael
Mon, 19 Apr 2010 20:31:45 -0000

R community,

How could I extract the week number from a date vector
(in class Date) such that week numbering (week 1...2...)
begins (May 01) and ends (October 31) on the same specific
dates each year?

Thank you,

Mike