Re: [R] Coloring Stripchart Points, or Better, Lattice Equivalent

From: Bryan Hanson <hanson_at_depauw.edu>
Date: Mon, 23 Jun 2008 20:47:57 -0400


Thanks Deepayan. That's the conclusion I have gradually reaching! Bryan

On 6/23/08 5:57 PM, "Deepayan Sarkar" <deepayan.sarkar_at_gmail.com> wrote:

> On 6/22/08, Bryan Hanson <hanson@depauw.edu> wrote:

>> Thanks Gabor, I'm getting closer.
>> 
>>  Is there a way to spread out resp values vertically for a given value of
>>  index?  In base graphics, stripchart does this with method = "stack".  But
>>  in lattice, stack = TRUE does something rather different, and I don't see a
>>  combination of lattice arguments that does it like base graphics.

>
> Right, the default lattice panel function doesn't support stacking. I
> think your best best, if you want to retain vectorization of col and
> pch, is to compute the y-coordinates yourself and use xyplot() to
> plot.
>
> -Deepayan


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. Received on Tue 24 Jun 2008 - 00:52:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 24 Jun 2008 - 02:31:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive