Re: [R] Separate ablines in lattice panels

2012-01-17 Thread David Winsemius
PM To: Doran, Harold Cc: Bert Gunter; r-help@r-project.org Subject: Re: [R] Separate ablines in lattice panels On Jan 17, 2012, at 1:34 PM, Doran, Harold wrote: Thank you, Bert. The help page doesn't have a usage example and I can't seem to find one via google. Do you, or anyone else, h

Re: [R] Separate ablines in lattice panels

2012-01-17 Thread Doran, Harold
lto:dwinsem...@comcast.net] > Sent: Tuesday, January 17, 2012 1:46 PM > To: Doran, Harold > Cc: Bert Gunter; r-help@r-project.org > Subject: Re: [R] Separate ablines in lattice panels > > > On Jan 17, 2012, at 1:34 PM, Doran, Harold wrote: > > > Thank you, Bert. The hel

Re: [R] Separate ablines in lattice panels

2012-01-17 Thread David Winsemius
m: Bert Gunter [mailto:gunter.ber...@gene.com] Sent: Tuesday, January 17, 2012 1:07 PM To: Doran, Harold Cc: r-help@r-project.org Subject: Re: [R] Separate ablines in lattice panels ?panel.number This tells you what panel you're in and you can use that to determine which line to draw. -- Bert

Re: [R] Separate ablines in lattice panels

2012-01-17 Thread Doran, Harold
Doran, Harold > Cc: r-help@r-project.org > Subject: Re: [R] Separate ablines in lattice panels > > ?panel.number > > This tells you what panel you're in and you can use that to determine > which line to draw. > > -- Bert > > On Tue, Jan 17, 2012 at 9:59 AM, Do

Re: [R] Separate ablines in lattice panels

2012-01-17 Thread Bert Gunter
?panel.number This tells you what panel you're in and you can use that to determine which line to draw. -- Bert On Tue, Jan 17, 2012 at 9:59 AM, Doran, Harold wrote: > Searched archives and found some old email threads on the topic. But mot > exactly what I think I need. Suppose I have a dataf

[R] Separate ablines in lattice panels

2012-01-17 Thread Doran, Harold
Searched archives and found some old email threads on the topic. But mot exactly what I think I need. Suppose I have a datafile such as tmp. tmp <- data.frame(var1 = c(rnorm(1000), rnorm(1000, 1, 1)), var2 = gl(2, 1000)) I'd like a plot similar to the one below, but with an abline of v=0 in the