Re: [R] How to draw different series for different groups in xyplot

2011-03-13 Thread Dennis Murphy
Hi: Try this: xyplot(y ~ x1 | x2 * x3, groups = x4, data = example, type= c(l, p), pch=c(16, 4), col=c(blue, red), col.line = c('blue', 'transparent'), xlim = c(1.04, 1.26), ylim = c(0, 1.1), xlab = X2, ylab = Y, key = list(space = top, text = list(A),

[R] How to draw different series for different groups in xyplot

2011-03-12 Thread Jie Liu
Hi guys, I got a problem when I was trying to use lattice to do some plot. Below is one working example which can generate one curve for A and one curve for B in each subplot. However, I would like to just show the points for B, not connecting the dots. As for A, I still want a curve (dots are