[R] how to construct stripchart with coincident points centered

From: Berta <ibanez_at_bioef.org>
Date: Fri 08 Sep 2006 - 08:53:47 GMT

Hi R-users,
I am using stripchart with coincident points,

y <-rbinom(100, 3, 0.5)
stripchart(y, method="stack", pch="o", vertical=TRUE)

But the result is not centered in the sense that if a value (say value 0) is repeated 7 times, the first point is ploted in the middle and the rest at its right side, in stead of ploting 3 at its right and 3 at its left. Can anybody help?


R-help@stat.math.ethz.ch 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 Fri Sep 08 22:49:43 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 08 Sep 2006 - 17:30:04 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.