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

Bryan Hanson hanson at depauw.edu
Tue Jun 24 02:47:57 CEST 2008


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 at 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



More information about the R-help mailing list