[R] boxplot with average instead of median

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Aug 5 11:09:59 CEST 2008


Use bxp() and feed it with data that is not from boxplot.stats(). 
Therefore you might want to invent some alternative function along the 
lines of boxplot.stats().

Uwe Ligges



Chad Junkermeier wrote:
> I really like the ease of use with the boxplot command in R.  I would 
> rather have a boxplot that shows the average value and the standard 
> deviation then the median value and the quartiles.
> 
> Is there a way to do this?
> 
> 
> Chad Junkermeier, Graduate Student
> Dept. of Physics
> West Virginia University
> PO Box 6315
> 210 Hodges Hall
> Morgantown WV 26506-6315
> phone: (304) 293-3442 ext. 1430
> fax: (304) 293-5732
> email: chad.junkermeier{at}mail.wvu.edu
> -----------------------------------------------------
> Concurrently at:
> Dept. of Physics and Astronomy
> Brigham Young University
> Provo UT 84602
> email: junkermeier{at}byu.edu
> 
> cell: (801) 380-8895
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list