Re: [R] Changing strip text

2012-06-19 Thread Peter Ehlers
On 2012-06-18 20:35, Duncan Mackay wrote: Hi Julie Try strip.custom(factor.levels = paste("Treat", c("0","2","4","8","16"), sep = " ") That won't necessarily work; it depends on what type 'Treat' is. I suspect that it's not a factor. Here's an example using the iris data: First, let's augmen

Re: [R] Changing strip text

2012-06-18 Thread Duncan Mackay
Hi Julie Try strip.custom(factor.levels = paste("Treat", c("0","2","4","8","16"), sep = " ") i.e xyplot(log(pfuml)~Transfer|Treat,groups=Pop,ylab="Log10 Pfu/ml",as.table=T, type="a", auto.key=list(space="right",points=F,lines=T) ), strip=strip

Re: [R] Changing strip text

2012-06-18 Thread Peter Ehlers
On 2012-06-18 10:02, Julie Truman wrote: I'm trying to create a 5-panel xyplot with each strip labelled by treatment. The code is as follows: xyplot(log(pfuml)~Transfer|Treat,groups=Pop,ylab="Log10 Pfu/ml",as.table=T, type="a", auto.key= list(spac

[R] Changing strip text

2012-06-18 Thread Julie Truman
I'm trying to create a 5-panel xyplot with each strip labelled by treatment. The code is as follows: xyplot(log(pfuml)~Transfer|Treat,groups=Pop,ylab="Log10 Pfu/ml",as.table=T, type="a", auto.key= list(space="right",points=F,lines=T)) I've tried: