.@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Shane Carey
> Sent: Friday, April 26, 2013 1:09 PM
> To: Rui Barradas
> Cc: r-help@r-project.org
> Subject: Re: [R] sample size in box plot labels
>
> This works, great. Cheers
>
>
> On Fri, Apr 2
This works, great. Cheers
On Fri, Apr 26, 2013 at 12:02 PM, Rui Barradas wrote:
> Hello,
>
> To count the sample sizes for each factor try
>
> tapply(DATA$K_Merge, DATA$UnitName_1, FUN = length)
>
>
> Hope this helps,
>
> Rui Barradas
>
> Em 26-04-2013 10:48, Shane Carey escreveu:
>
> Hi,
>>
>
Hello,
To count the sample sizes for each factor try
tapply(DATA$K_Merge, DATA$UnitName_1, FUN = length)
Hope this helps,
Rui Barradas
Em 26-04-2013 10:48, Shane Carey escreveu:
Hi,
I would like to put the sample number beside each lable in a boxplot.
How do I do this? Essentially, I need
Hi
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Shane Carey
> Sent: Friday, April 26, 2013 11:49 AM
> To: r-help@r-project.org
> Subject: [R] sample size in box plot labels
>
> Hi,
>
>
Hi,
I would like to put the sample number beside each lable in a boxplot.
How do I do this? Essentially, I need to count the sample size for each
factor, see below:
Thanks
boxplot(DATA$K_Merge~factor(DATA$UnitName_1),axes=FALSE,col=colours)
title(main=list("Tukey Boxplot by Geology:\n K(%)",cex=c
5 matches
Mail list logo