Skip to content
Prev 267919 / 398502 Next

Creating a scatterplot with sequential dates on x-axis?

Try
library(lattice)
x = seq(from = as.Date("2011-01-01"), by = "1 month", length = 10)
y = rnorm(10)
xyplot(y~x)
?xyplot
?seq

Regards

Duncan


Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email: home mackay at northnet.com.au
At 10:00 08/08/2011, you wrote: