Re: [R] lattice::xyplot() with one factor for points and another for lines - solution

2010-08-22 Thread Dennis Murphy
Hi: Yesterday, I posted a question regarding how to handle different graphical behavior between two factors in xyplot() [package lattice]. After a public and private reply from Deepayan Sarkar, the problem has been resolved nicely, including the addition of a stacked legend for the two factors in

Re: [R] lattice::xyplot() with one factor for points and another for lines

2010-08-21 Thread Deepayan Sarkar
On Sat, Aug 21, 2010 at 5:58 AM, Dennis Murphy wrote: > Hi: > > In lattice, how does one handle separate graphical behavior for two > different factors? In the xyplot below, the objective is to use the levels > of one factor to distinguish corresponding shapes and colors, and the levels > of the o

[R] lattice::xyplot() with one factor for points and another for lines

2010-08-21 Thread Dennis Murphy
Hi: In lattice, how does one handle separate graphical behavior for two different factors? In the xyplot below, the objective is to use the levels of one factor to distinguish corresponding shapes and colors, and the levels of the other factor to perform level-wise loess smooths. # Illustrative d