[R] Boxplot Help Needed

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.be
Tue Mar 7 11:41:13 CET 2006


you mean that you want something like:

x <- c(2,4,5,7,12,14,15,13,8,5,23,98,11)
sx <- summary(x)
boxplot(x)
text(x = 1 - 0.3, y = seq(40, 70, length = 6), paste(names(sx), ": ", 
sx, sep = ""))

I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Sumanta Basak" <sumantab at ambaresearch.com>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, March 07, 2006 10:54 AM
Subject: [R] Boxplot Help Needed


> Hi R-Experts,
>
>
>
> How can I show all the relevant measures like mean, median, min. 
> value,
> max. value, outlier in a single boxplot diagram?
>
>
>
> Suppose I have a data set  c(2,4,5,7,12,14,15,13,8,5,23,98,11)
>
>
>
> Sumanta Basak.
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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
> 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




More information about the R-help mailing list