Displaying 1 result from an estimated 1 matches for "measuresbyday".
2009 Dec 04
1
Problem with date x-axis
Hello,
I have a "friday" problem.
I'm trying to plot the number of measures by day with this command between
the 2008-07-31 and the 2009-11-13 (it works) :
plot(unique(as.Date(strptime(data$date, format="%Y-%m-%d %H:%M:%S))),
measuresbyday)
then I would like to plot vertical lines for each month.
But it doesn't work because
par()$usr gives
14071.16 14579.84 -7.16 213.16
and
as.numeric(as.POSIXct(unique(as.Date(strptime(data$date, format="%Y-%m-%d
%H:%M:%S)))[1])) corresponding to "2008-08-01" gives
1217376000...