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
Behalf Of Rich Shepard Sent: Friday, 6 September 2013 06:24 To: r-help@r-project.org Subject: [R] xyplot() with discontinuous x-axis variable 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, ther

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

2013-09-05 Thread Rich Shepard
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 2010-2012, but