Hello all,
I'm hoping to convert a decimal value for week of the year back to a date 
object.
Eg:
strptime(paste(2010,1:52,sep=" "),format="%Y %W")

I expected (hoped?) this would give me the date for Monday of each week.  
Instead, it's giving me 52 values of today's date.

Where am I erring?
Thanks
Michael

_______________________________________________________
Michael Folkes
Salmon Stock Assessment
Canadian Dept. of Fisheries & Oceans     
Pacific Biological Station
3190 Hammond Bay Rd.
Nanaimo, B.C., Canada
V9T-6N7
Ph (250) 756-7264 Fax (250) 756-7053  michael.fol...@dfo-mpo.gc.ca


        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to