> From: smartpink...@yahoo.com
> Sent: Sat, 8 Sep 2012 11:14:11 -0700 (PDT)
> To: jrkrid...@inbox.com
> Subject: Re: [R] Producing a table with mean values
>
> Hi John,
>
> I am getting error messages with your solution. tabx <- ddply(nn,
> .(Seamount, variable), su
day, September 8, 2012 1:19 PM
Subject: Re: [R] Producing a table with mean values
x <- " Seamount Pico Nano Micro Total_Ch
Off_Mount1 0.0691 0.24200 0.00100 0.31210
Off_Mount1 0.0938 0.00521 0.02060 0.11961
Off_Mount1 0.1130 0.2 0.06620 0.37920
Off_Mount1 0.0864 0.15
value), sd =
sd(value))
tabx
John Kane
Kingston ON Canada
> -Original Message-
> From: tsonne...@gmail.com
> Sent: Fri, 7 Sep 2012 22:49:55 +0200
> To: r-help@r-project.org
> Subject: [R] Producing a table with mean values
>
> Hi All,
>
> I have a data set wit
iginal Message -
From: Tinus Sonnekus
To: r-help@r-project.org
Cc:
Sent: Friday, September 7, 2012 4:49 PM
Subject: [R] Producing a table with mean values
Hi All,
I have a data set wit three size classes (pico, nano and micro) and 12
different sites (Seamounts). I want to produce a table wi
On 12-09-07 4:49 PM, Tinus Sonnekus wrote:
Hi All,
I have a data set wit three size classes (pico, nano and micro) and 12
different sites (Seamounts). I want to produce a table with the mean and
standard deviation values for each site.
Seamount PicoNano MicroTotal_Ch
1 Off_M
Hello,
Try the following.
agg1 <- aggregate(cbind(Pico, Nano, Micro) ~ Seamount, data = SChla, mean)
agg2 <- aggregate(cbind(Pico, Nano, Micro) ~ Seamount, data = SChla, sd)
names(agg1)[-1] <- paste("u", names(agg1)[-1], sep = ".")
names(agg2)[-1] <- paste("sd", names(agg2)[-1], sep = ".")
mer
On Sep 7, 2012, at 1:49 PM, Tinus Sonnekus wrote:
> Hi All,
>
> I have a data set wit three size classes (pico, nano and micro) and 12
> different sites (Seamounts). I want to produce a table with the mean and
> standard deviation values for each site.
>
> Seamount PicoNano Micro
Hi All,
I have a data set wit three size classes (pico, nano and micro) and 12
different sites (Seamounts). I want to produce a table with the mean and
standard deviation values for each site.
Seamount PicoNano MicroTotal_Ch
1 Off_Mount 1 0.0691 0.24200 0.00100 0.31210
2 Off_M
8 matches
Mail list logo