RE: [R] Date on x-axis of xyplot

2003-09-23 Thread Heywood, Giles
One thing you could do is to use the 'its' (irregular time-series) package on CRAN. e.g. using a trivial dataset require(its) its.format(%Y-%m-%d) #defines text format of dates in dimnames df - data.frame(1:3,(1:3)^2) dimnames(df) - list(c(2003-01-03,2003-01-06,2003-01-07),letters[1:2])

Re: [R] Date on x-axis of xyplot

2003-09-18 Thread Deepayan Sarkar
On Wednesday 17 September 2003 08:51, David James wrote: Prof Brian Ripley wrote: On Tue, 16 Sep 2003, Deepayan Sarkar wrote: Is the date class standard enough to warrant including a check for it in lattice ? I don't think so. The POSIX*t classes in R are the most standard,

Re: [R] Date on x-axis of xyplot

2003-09-17 Thread Jason Turner
On Wed, 2003-09-17 at 17:29, Deepayan Sarkar wrote: On Tuesday 16 September 2003 23:51, Jason Turner wrote: ... the lack of POSIXct support in the lattice graphics axes has often caused me to think up new ways around the plot. Unless I'm missing an obvious way to apply that... Actually,

Re: [R] Date on x-axis of xyplot

2003-09-17 Thread Prof Brian Ripley
On Tue, 16 Sep 2003, Deepayan Sarkar wrote: Is the date class standard enough to warrant including a check for it in lattice ? I don't think so. The POSIX*t classes in R are the most standard, followed by the chron package and only then the date package. -- Brian D. Ripley,

Re: [R] Date on x-axis of xyplot

2003-09-17 Thread Deepayan Sarkar
[Due to problems with my mail client, this message may eventually reach the list twice. Sorry about that.] On Wednesday 17 September 2003 08:51, David James wrote: Prof Brian Ripley wrote: On Tue, 16 Sep 2003, Deepayan Sarkar wrote: Is the date class standard enough to warrant including a

Re: [R] Date on x-axis of xyplot

2003-09-16 Thread Deepayan Sarkar
On Tuesday 16 September 2003 22:00, Charles H. Franklin wrote: xyplot doesn't seem to want to label my x-axis with dates but instead puts the day-number for each date. begdate is the number of days since January 1, 1960 and was initially created by library(date) ...

Re: [R] Date on x-axis of xyplot

2003-09-16 Thread Jason Turner
On Wed, 2003-09-17 at 16:31, Deepayan Sarkar wrote: ... Is the date class standard enough to warrant including a check for it in lattice ? I've never used it myself, but the lack of POSIXct support in the lattice graphics axes has often caused me to think up new ways around the plot. Unless

RE: [R] Date on x-axis of xyplot

2003-09-16 Thread Charles H. Franklin
On Tuesday 16 September 2003 22:00, Charles H. Franklin wrote: xyplot doesn't seem to want to label my x-axis with dates but instead puts the day-number for each date. ... What am I missing? Deepayan Sarkar replies: The fact that xyplot doesn't know anything about the date class. I'm not

Re: [R] Date on x-axis of xyplot

2003-09-16 Thread Deepayan Sarkar
On Tuesday 16 September 2003 23:51, Jason Turner wrote: On Wed, 2003-09-17 at 16:31, Deepayan Sarkar wrote: ... Is the date class standard enough to warrant including a check for it in lattice ? I've never used it myself, but the lack of POSIXct support in the lattice graphics axes has