[R] Plot Data Points in boxplots

Aric Gregson aorchid at mac.com
Thu Sep 29 00:57:01 CEST 2005


--On 9/27/05 8:55 PM -0400 Gabor Grothendieck sent:

> Try this:
>
> boxplot(Sepal.Length ~ Species, iris)
> with(iris, stripchart(Sepal.Length ~ Species, vertical = TRUE, add =
> TRUE))

Thanks very much for the hint. I did something very similar with decent 
results. The only problem I am having now is that I cannot figure out 
how to make stripchart plot without a box or axis. Alternatively, I can 
use DOTplot from UsingR, but I cannot find out how to rotate it for 
vertical.

thanks,

aric

> On 9/27/05, Aric Gregson <aorchid at mac.com> wrote:
>> Hello,
>>
>> I would like to plot my data in a fashion similar to a boxplot, but
>> plot the true data points without a box, just overlay lines of the
>> summary generated by the boxplot.




More information about the R-help mailing list