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

David Winsemius dwinsemius at comcast.net
Sun Jul 10 17:48:34 CEST 2011


On Jul 10, 2011, at 11:03 AM, Fredrik Karlsson wrote:

> Dear list,
>
> I'm working on a panel function where I would like to be able to  
> visualise
> data grouped by the category of the data, and then also changes in  
> summary
> descriptives from one condition to another in the same scatter plot.  
> Like
> the figure attached, but with one polygon for each subset of the  
> data set
> given by a second variable (with colours still coming from the  
> variable
> specified in the "groups" argument).
>
> Any ideas?

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



More information about the R-help mailing list