Re: [R] Adding text to strip in xYplot

2008-04-09 Thread John Poulsen
Hello Christoph, Oops, I see that the factor.levels function is in the help menu for strip.default. I had tried it, but not specified it correctly. Thanks again for you help, John Christoph Meyer wrote: > Hi John, > > a solution to your problem would be using strip.custom like this: > > ...

Re: [R] Adding text to strip in xYplot

2008-04-09 Thread Christoph Meyer
Hi John, a solution to your problem would be using strip.custom like this: ... with(dat,xYplot(Cbind(ycomb, y.up, y.low)~x1|factor(grp), data=dat,type="l", method="bands", scales=list(y=list(relation="free"),x=list(alternating=c(1,1,1))), ylim=list(c(0,1200),c(0,1)), strip=strip.custom(fact