Re: [R] boxplot and number of observations per box

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Wed, 30 Jan 2008 13:00:16 -0200

Try this also:

y<-rnorm(50)
x<-factor(sample(letters[1:5],50,replace=T)) bp <- boxplot(y~x)
text(1:5, bp$stats[3,]+.1, paste("n", bp$n, sep="="))

On 30/01/2008, Marc Bernard <bernarduse1_at_yahoo.fr> wrote:
> Dear all,
>
> How can I plot the number of observations per box in a boxplot. Many thanks,
>
> Bernard
>
>
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

______________________________________________
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.
Received on Wed 30 Jan 2008 - 15:03:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 30 Jan 2008 - 15:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive