Re: [R] Connecting points over missing observations in Lattice

2011-10-09 Thread Gabor Grothendieck
On Sat, Oct 8, 2011 at 5:59 AM, Allan Sikk wrote: > Hello, > > I'm trying to plot connected time series of two variables in a lattice plot: > xyplot(y1 + y2 ~ t,  data=size, type="b") > > y2 has missing data for some of the observations and some points are > therefore not connected. It would make

Re: [R] Connecting points over missing observations in Lattice

2011-10-08 Thread Allan Sikk
I'd like to keep all observations for y1... >> >> I'm trying to plot connected time series of two variables in a >> lattice plot: >> xyplot(y1 + y2 ~ t, data=size, type="b") >> >> y2 has missing data for some of the observations and some points are >> therefore not connected. It would make theore

Re: [R] Connecting points over missing observations in Lattice

2011-10-08 Thread David Winsemius
On Oct 8, 2011, at 4:59 AM, Allan Sikk wrote: Hello, I'm trying to plot connected time series of two variables in a lattice plot: xyplot(y1 + y2 ~ t, data=size, type="b") y2 has missing data for some of the observations and some points are therefore not connected. It would make theoretica

[R] Connecting points over missing observations in Lattice

2011-10-08 Thread Allan Sikk
Hello, I'm trying to plot connected time series of two variables in a lattice plot: xyplot(y1 + y2 ~ t, data=size, type="b") y2 has missing data for some of the observations and some points are therefore not connected. It would make theoretical sense to connect the points - is there a way of d