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 well formed plot with the date on the y axis, but when I enter:

xyplot (count ~ date)

I get: "Error in as.POSIXct.default(X[[2L]], ...) :
  do not know how to convert 'X[[2L]]' to class "POSIXlt"

Is there a way to create an xyplot with the dates on the x axis?

Thank you.

Larry

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to