[R] Week number calculation

Hosack, Michael mhosack at state.pa.us
Mon Apr 19 22:31:45 CEST 2010


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



More information about the R-help mailing list