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
4 PM Subject: [R] datetime on x-axis of plot > > 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 date

[R] datetime on x-axis of plot

2008-02-28 Thread 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 to show up on the x-axis?