[R] Question about plotting data points in box plots
jfox at mcmaster.ca
Sat Feb 7 21:42:00 CET 2009
You could use jitter(x) in place of x to randomly perturb the horizontal
coordinates. See ?jitter for details.
I hope this helps,
John Fox, Professor
Department of Sociology
Hamilton, Ontario, Canada
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> Behalf Of George Chen
> Sent: February-07-09 3:19 PM
> To: r-help at r-project.org
> Subject: [R] Question about plotting data points in box plots
> I am plotting my data as side by side box plots.
> Could somebody tell me how I can plot the points from which the box plots
> derived inside the box plots?
> I imagine some use of the plot(x,y) function with x = the data and y =
> location of box plot, but how do I distribute the points about the
> rather than have them show up all on one vertical axis?
> Thanks in advance,
> George Chen
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help