Re: [R] (with subject)

2008-09-05 Thread Dr Eberhard W Lisse
Oh, YES, thank you! This weekend I'll try and figure out how to plot these events on a 24 hour scale, i.e I'll aggregate the SQL query on the time But not on the date) to see how many of those fall outside of normal working hours :-)-O greetings, el On 05 Sep 2008, at 00:59 , Gabor Grothendieck

Re: [R] (with subject)

2008-09-04 Thread Gabor Grothendieck
I assume the problem is that you want the axis to have all 12 months but your data is much shorter. Try this: mos <- seq(as.Date("2008-01-01"), length = 12, by = "month") plot(range(mos), range(rawData$y), type = "n", xaxt = "n") lines(rawData$Date, rawData$y) axis(1, mos, month.abb) On Thu, Se

Re: [R] (with subject)

2008-09-04 Thread Felipe Carrillo
as.Date(rawData$Date) qplot(Date,y,data=rawData,geom="line",xlim=c(as.Date("2008-1-1"),as.Date("2008-12-1"))) --- On Thu, 9/4/08, Dr Eberhard W Lisse <[EMAIL PROTECTED]> wrote: > From: Dr Eberhard W Lisse <[EMAIL PROTECTED]> > Subject: Re: [R] (with su

Re: [R] (with subject)

2008-09-04 Thread Dr Eberhard W Lisse
Dirk, Gabor, thanks for your advice, I have now tried to study these vignettes, but I must say, as an aging Gynecologist, I am facing an enormous learning curve :-)-O. This works nicely: rawData <- data.frame(x = c("2008-03-01", "2008-03-21", "2008-03-23", "2008-04-08", "2008-04-20", "2008-05