Hello, I have a list of dates, such as
dates<- as.Date(c("1996-03-29","1996-05-30","1996-09-28","1996-05-09")) from which I would like to extract the week number for each date, with week n°1 being the week going from Dec 30th 1995 to Jan 6th 1996 ("1995-30-12" to "1996-06-01"). Any suggestion for a simple way to do that? Thank you -- View this message in context: http://r.789695.n4.nabble.com/Extracting-week-number-starting-from-a-specific-date-tp4598676.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.