Re: [R] Stratifying data with xyplot

2019-03-15 Thread Deepayan Sarkar
On Tue, Mar 12, 2019 at 2:28 AM Kevin Wright wrote: > > See the examples here: > https://www.stat.ubc.ca/~jenny/STAT545A/block10_latticeNittyGritty.html Excellent reference. The only improvement I could think of is to abuse the non-standard evaluation of 'groups' to avoid repeating the name of

Re: [R] Stratifying data with xyplot

2019-03-11 Thread Kevin Wright
See the examples here: https://www.stat.ubc.ca/~jenny/STAT545A/block10_latticeNittyGritty.html On Mon, Mar 11, 2019 at 2:26 PM Sebastien Bihorel < sebastien.biho...@cognigencorp.com> wrote: > Hi, > > I am a big user/fan of the lattice package for plotting. As far as I know, > lattice only

[R] Stratifying data with xyplot

2019-03-11 Thread Sebastien Bihorel
Hi, I am a big user/fan of the lattice package for plotting. As far as I know, lattice only offers one method to stratify data within a xyplot panel, using the groups arguments. A contrario, the ggplot package allow users to use different variables for coloring, setting the symbols, the line