Re: [R] datetime on x-axis of plot

2008-02-29 Thread Steve Revilak
> From: joshv > Hello, I'm reading Time Series Analysis and its Applilcations with R Examples > and I have a question... > > I notice that in the book there are timeseries plots but without the x-axis > being labeled with dates. They are just numbers 1,...50,...100, etc. How > do I get the date

Re: [R] datetime on x-axis of plot

2008-02-28 Thread Don MacQueen
Is the date part of your data a POSIXct object? If so, plot( myData[,1], myData[,2] ) will label the x axis with dates. See the help pages for date-time class objects: ?POSIXt (POSIXt includes both POSIXct and POSIXlt; I tend to prefer POSIXct and find it the easier of the two to work w

Re: [R] datetime on x-axis of plot

2008-02-28 Thread AA
see the zoo package. It has all the plotting for timeseries. It has a nice Vignette too. Also have a look at timeseries functions in Rmetrics. (Rmetrics.org). Good luck. AA. - Original Message - From: "joshv" <[EMAIL PROTECTED]> To: Sent: Thursday, February 28, 2008 4:04 PM Subject: [R]