Hello! I know how to transform dates into year.weeknumber format using zoo:
library(zoo) as.numeric(format(as.Date("2010-10-02"), "%Y.%W")) But is there a straightforward way to do the opposite - to transform character strings like "2009.12" or "2009.30" back into dates (assuming that weeks start on Monday)? Thanks a lot! -- Dimitri Liakhovitski ______________________________________________ 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.