[R] How do I get two levels of grouping for in a lattice panel function?

Bert Gunter gunter.berton at gene.com
Sun Jul 10 18:06:31 CEST 2011

> To paraphrase your sig:
> "Rhelp answers are like a trumpet - if you don't put any code and data into
> them, you don't get anything out of it."
>> --
>> "Life is like a trumpet - if you don't put anything into it, you don't get
>> anything out of it."
>> <
> David Winsemius, MD
> West Hartford, CT

Yes, and furthermore:

1. See

for many examples and code therefor, which is likely to get you very
close to what you want.

2. You do not seem to have made much of an effort to learn what you
need to know on your own, as it appears that this is basic lattice
functionality.  Aside from the man page, look for lattice tutorials
online (perhaps starting on CRAN) or get the book by Deepayan Sarkar,
lattice's author, which is comprehensive and full of examples.

-- Bert

> ______________________________________________
> R-help at r-project.org 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.

"Men by nature long to get on to the ultimate truths, and will often
be impatient with elementary studies or fight shy of them. If it were
possible to reach the ultimate truths without the elementary studies
usually prefixed to them, these would not be preparatory studies but
superfluous diversions."

-- Maimonides (1135-1204)

Bert Gunter
Genentech Nonclinical Biostatistics

More information about the R-help mailing list