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
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.