Re: [R] Controlling text and strip arrangement in xyplot

2007-06-19 Thread Mark Difford
Hi Deepayan, I, and probably quite a few others, will find this very useful until you find the time to wrap up a proper implementation. Many thanks, BestR, Mark. Deepayan Sarkar wrote: > > On 6/19/07, Juan Pablo Lewinger <[EMAIL PROTECTED]> wrote: >> I've searched the archives and read the x

Re: [R] Controlling text and strip arrangement in xyplot

2007-06-19 Thread Deepayan Sarkar
On 6/19/07, Juan Pablo Lewinger <[EMAIL PROTECTED]> wrote: > I've searched the archives and read the xyplot help but can't figure > out the 2 lattice questions below? > > Consider: > > library(lattice) > DF <- data.frame(x=rnorm(20), y=rnorm(20), g1=rep(letters[1:2], 10), > g2=rep

Re: [R] Controlling text and strip arrangement in xyplot

2007-06-19 Thread Mark Difford
Hi Pablo, > DF <- data.frame(x=rnorm(20), y=rnorm(20), g1=rep(letters[1:2], 10), >g2=rep(LETTERS[1:2], each=10), > g3=rep(rep(letters[3:4],each=5),2)) > > xyplot(y ~ x | g1 + g2, groups=g3, data=DF) ... I remember findling with this some time ago and getting most of the way there. If

Re: [R] Controlling text and strip arrangement in xyplot

2007-06-19 Thread hadley wickham
On 6/19/07, Juan Pablo Lewinger <[EMAIL PROTECTED]> wrote: > I've searched the archives and read the xyplot help but can't figure > out the 2 lattice questions below? > > Consider: > > library(lattice) > DF <- data.frame(x=rnorm(20), y=rnorm(20), g1=rep(letters[1:2], 10), > g2=rep

[R] Controlling text and strip arrangement in xyplot

2007-06-19 Thread Juan Pablo Lewinger
I've searched the archives and read the xyplot help but can't figure out the 2 lattice questions below? Consider: library(lattice) DF <- data.frame(x=rnorm(20), y=rnorm(20), g1=rep(letters[1:2], 10), g2=rep(LETTERS[1:2], each=10), g3=rep(rep(letters[3:4],each=5),2)) xyplot(y