[R] dates with lattice graphics

2009-09-14 Thread Larry White
Hi, I'm trying to do something simple (I think) with lattice graphics. I want to have three xyplots in a single column, where the x axis for the three is a date range and the y axes are numeric. I tried doing the first chart, and ran into a problem. When I enter: xyplot (date ~ count) I get a

Re: [R] dates with lattice graphics

2009-09-14 Thread Gabor Grothendieck
See last line to every message on r-help which in particular asks for reproducible code and in this case means include date and count. Note ?dput This work for me: library(lattice) tt - as.POSIXct(Sys.Date() + 1:10) y - seq_along(tt) xyplot(y ~ tt) as does this: library(zoo)