Re: [R] how to delete empty levels from lattice xyplot

2011-03-02 Thread P Ehlers
Dennis Murphy wrote: Hi: On Wed, Mar 2, 2011 at 1:52 PM, John Smith wrote: Hello All, I try to use the attached code to produce a cross over plot. There are 13 subjects, 7 of them in for/sal group, and 6 of them in sal/for group. But in xyplot, all the subjects are listed in both subgraphs.

Re: [R] how to delete empty levels from lattice xyplot

2011-03-02 Thread Dennis Murphy
Hi: On Wed, Mar 2, 2011 at 1:52 PM, John Smith wrote: > Hello All, > > I try to use the attached code to produce a cross over plot. There are 13 > subjects, 7 of them in for/sal group, and 6 of them in sal/for group. But > in > xyplot, all the subjects are listed in both subgraphs. Could anyone

[R] how to delete empty levels from lattice xyplot

2011-03-02 Thread John Smith
Hello All, I try to use the attached code to produce a cross over plot. There are 13 subjects, 7 of them in for/sal group, and 6 of them in sal/for group. But in xyplot, all the subjects are listed in both subgraphs. Could anyone help me figure out how to get rid of the empty levels? Thanks l