Re: [R] how to construct stripchart with coincident points centered

From: Robert Baer <rbaer_at_atsu.edu>
Date: Fri 08 Sep 2006 - 13:59:03 GMT

You may be looking for:
 stripchart(y, method="jitter", pch="o", vertical=TRUE,jitter=.5)

Rob



Robert W. Baer, Ph.D.
Associate Professor
Department of Physiology
A. T. Still University of Health Science 800 W. Jefferson St.
Kirksville, MO 63501-1497 USA

> 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?
>
> Thanks,
> Berta.
>
> ______________________________________________
> 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.
>



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 Sat Sep 09 03:23:12 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 Mon 11 Sep 2006 - 20:18:51 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.