[R] Plot Data Points in boxplots

Paul Murrell p.murrell at auckland.ac.nz
Thu Sep 29 01:03:29 CEST 2005


Hi


Aric Gregson wrote:
> --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.


You might also like to take a look at Figure 3.27 (and associated R 
code) on
http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter3.html

Paul


>>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.
>>
> 
> ______________________________________________
> R-help at 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


-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/




More information about the R-help mailing list