[R] Boxplot philosophy {was "Boxplot in R"}

Andrew Robinson A.Robinson at ms.unimelb.edu.au
Tue Jul 12 10:48:04 CEST 2005


Rob Hyndman has written on a version of the boxplot that can show
bimodality.  See, particularly, Figure 2 in:

Hyndman, R.J. (1996) "Computing and graphing highest density regions",
Amer. Statist., 50, 120-126. 

Andrew

On Tue, Jul 12, 2005 at 10:28:04AM +0200, Martin Maechler wrote:
> >>>>> "Spencer" == Spencer Graves <spencer.graves at pdf.com>
> >>>>>     on Mon, 11 Jul 2005 19:08:39 -0700 writes:
> 
>     Spencer> I'll bite:  How does one detect bimodalidty from a boxplot?
> 
> One does not,
> and that (whole area) was the main reason I mentioned  "violin
> plots" which do show features such as bimodality:
> 
> There's a simple violin plot in the (recommended and hence
> always available) package "lattice"
> 
>  library(lattice)
>  example(panel.vioplot)
> 
> but for the sake of bimodality {and the version of violin plot
> that was in the 1998 Am.Stat. paper}
> 
>  install.packages("vioplot") # if needed
>  example(vioplot)
> 
> Both of these examples use the basic boxplot but *add* to it, so
> you can, e.g., clearly discern bimodality.
> 
> Martin Maechler
> 
> ______________________________________________
> 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

-- 
Andrew Robinson
Senior Lecturer in Statistics                       Tel: +61-3-8344-9763
Department of Mathematics and Statistics            Fax: +61-3-8344-4599
University of Melbourne, VIC 3010 Australia
Email: a.robinson at unimelb.edu.au       Website: http://www.ms.unimelb.edu.au




More information about the R-help mailing list