[R] Coloring Stripchart Points, or Better, Lattice Equivalent
deepayan.sarkar at gmail.com
Mon Jun 23 23:57:01 CEST 2008
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
More information about the R-help