paste on a 'day' since it is trying to convert to something that is ambigous:
> strptime("2011010","%Y%W%w")
[1] "2011-01-02"
> strptime("2011520","%Y%W%w")
[1] "2011-12-25"
> strptime("2011120","%Y%W%w")
[1] "2011-03-20"
> strptime("2011200","%Y%W%w")
[1] "2011-05-15"
On Wed, Jul 6, 2011 at 3:
Hi,
I am having a trouble parsing dates using strptime() that I get in the
format of year and week number. The data looks like this "201127" which
means year 2011 and week 27. I would like to graph this using ggplot but
then I get a gap between 201054 and 201101 so I thought I would just easily
co
2 matches
Mail list logo