Re: [R] xyplot strip=function for two conditioning variables

2008-08-05 Thread Deepayan Sarkar
On 8/5/08, Henning Wildhagen <[EMAIL PROTECTED]> wrote: > > Dear Deepayan, > > thanks for the hint with the wrapper in latticeExtra, it is very convenient > and the plot looks fine. Just from intuition i think that it would look even > nicer if the strips at the left side appear at the right site

Re: [R] xyplot strip=function for two conditioning variables

2008-08-05 Thread Henning Wildhagen
C: "Henning Wildhagen" <[EMAIL PROTECTED]>, r-help@r-project.org > Betreff: Re: [R] xyplot strip=function for two conditioning variables > > On Mon, Aug 4, 2008 at 3:36 AM, Gabor Grothendieck > <[EMAIL PROTECTED]> wrote: > > Checkout this one: >

Re: [R] xyplot strip=function for two conditioning variables

2008-08-04 Thread Deepayan Sarkar
On Mon, Aug 4, 2008 at 3:36 AM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Checkout this one: > > http://finzi.psych.upenn.edu/R/Rhelp02a/archive/82452.html And there's a wrapper for this in the latticeExtra package: library(latticeExtra) useOuterStrips(xyplot(data=df, copies~week|Treatment+

Re: [R] xyplot strip=function for two conditioning variables

2008-08-04 Thread Gabor Grothendieck
Checkout this one: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/82452.html On Mon, Aug 4, 2008 at 6:24 AM, Henning Wildhagen <[EMAIL PROTECTED]> wrote: > Dear list, > > for a data structure like in df: > > set.seed(100) > Treatment<-rep(c("Nitrogen","Carbon", "Sulfur"),each=9) > week<-rep(c(1,

[R] xyplot strip=function for two conditioning variables

2008-08-04 Thread Henning Wildhagen
Dear list, for a data structure like in df: set.seed(100) Treatment<-rep(c("Nitrogen","Carbon", "Sulfur"),each=9) week<-rep(c(1,5,9),3,each=3) genes<-rep(c("18s", "EF1b", "NR"),9) copies<-rnorm(27, 100,40) df<-data.frame(Treatment,week,genes,copies) i wrote this code for a xyplot: libra