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

From: Deepayan Sarkar <>
Date: Mon, 23 Jun 2008 14:57:01 -0700

On 6/22/08, Bryan Hanson <> 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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 23 Jun 2008 - 22:01:37 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 - 01:30:50 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive