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

Renaud Lancelot renaud.lancelot at cirad.fr
Tue Jul 12 11:57:04 CEST 2005


Martin Maechler a écrit :
>>>>>>"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)

Or rather

example(panel.violin)

Best,

Renaud


> 
> 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
> 


-- 
Dr Renaud Lancelot, vétérinaire
Projet FSP régional épidémiologie vétérinaire
C/0 Ambassade de France - SCAC
BP 834 Antananarivo 101 - Madagascar

e-mail: renaud.lancelot at cirad.fr
tel.:   +261 32 40 165 53 (cell)
         +261 20 22 665 36 ext. 225 (work)
         +261 20 22 494 37 (home)




More information about the R-help mailing list