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 ----- Original Message ----- From: "Berta" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, September 08, 2006 3:53 AM Subject: [R] how to construct stripchart with coincident points centered > 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. > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.
