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

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Tue 12 Jul 2005 - 18:28:04 EST

>>>>> "Spencer" == Spencer Graves <spencer.graves@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@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 Received on Tue Jul 12 18:34:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:31 EST