[R] Labelling boxplot with fivenumber summary

Chuck Cleland ccleland at optonline.net
Fri Apr 6 18:13:40 CEST 2007

Daniel Siddle wrote:
> I am very new to R so forgive me if this seems basic but I have done extensive searching and failed to come up with the answer for myself.
> I am trying to label a boxplot I have created with the values for the median, upper and lower quartiles and max and min values.  I have been unable to do this or find anything on the net to say how it might be done.  Is this possible and if so how?  Regards,

  This message from back in 2002 gives a function called bp.example(),
which shows how a boxplot might be annotated:


  You could easily modify it into a stripped down version that does what
you want.

> Daniel Siddle
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.

Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894

More information about the R-help mailing list