[R] trellis.focus with postscript device
Richard M. Heiberger
rmh at temple.edu
Wed Jul 19 18:10:31 CEST 2006
It works fine as long as you give it the layout. I used
xyplot(yy ~ xx | pp, groups=gg, layout=c(2,2))
This is needed to make sure that the rows and columns of the trellis
that you reference are consistent with the layout that xyplot has chosen.
Another way to handle this is to change the factor labels
pp <- factor(pp)
levels(pp) <- c("20 Cond 1 35", "30 Cond 2 20", "4 Cond 3 10")
xyplot(yy ~ xx | pp, groups=gg)
Rich
More information about the R-help
mailing list