Re: [R] controling x-labels in xyplot (lattice) when x is POSIX object

2003-10-21 Thread Martin Maechler
> "Deepayan" == Deepayan Sarkar <[EMAIL PROTECTED]> > on Mon, 20 Oct 2003 12:58:36 -0500 writes: Deepayan> On Monday 20 October 2003 12:35, Deepayan> [EMAIL PROTECTED] wrote: <.> >> Previously, I used 'calculateAxisComponents' to massage >> the labels manually

Re: [R] controling x-labels in xyplot (lattice) when x is POSIX object

2003-10-20 Thread Deepayan Sarkar
On Monday 20 October 2003 12:35, [EMAIL PROTECTED] wrote: > Hi, > > V1.8.0 seems to allow DateTimeClasses as the x argument in xyplots (lattice). > For example: > > x <- seq.POSIXt(strptime("2003/01/01", format = "%Y/%m/%d"), > strptime("2003/10/01", format = "%Y/%m/%d"), by = "m

[R] controling x-labels in xyplot (lattice) when x is POSIX object

2003-10-20 Thread john.gavin
Hi, V1.8.0 seems to allow DateTimeClasses as the x argument in xyplots (lattice). For example: x <- seq.POSIXt(strptime("2003/01/01", format = "%Y/%m/%d"), strptime("2003/10/01", format = "%Y/%m/%d"), by = "month") y <- rnorm(length(x)) dat <- data.frame(x= x, y = y) xyplot(y ~ x,