Re: [R] xyplot() with discontinuous x-axis variable

2013-09-06 Thread Rich Shepard
On Fri, 6 Sep 2013, S Ellison wrote: #Test data ym <-as.data.frame(expand.grid(Y=c(2004:2006, 2010:2012), A=1:4)) #A is an arbitrary variable to give us some panels. ym$x <- runif(nrow(ym)) library(lattice) #Plots without, andf with, a groups argument xyplot(x~Y|A, data=ym, type="l") xyplot(

Re: [R] xyplot() with discontinuous x-axis variable

2013-09-06 Thread S Ellison
>My xyplot() with superposed multiple condiions looks > better with lines than with points (it's easier to see > changes over time with the lines). But, there are gaps in the > years (the x axis) for which there are data to be plotted. > For example, there are data for years 2004-2006 and

Re: [R] xyplot() with discontinuous x-axis variable

2013-09-05 Thread Duncan Mackay
Hi Rich This is a case of where data needs to be supplied to go further. Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behal