Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of John Posner
> Sent: Thursday, November 13, 2014 5:32 PM
> To: 'r-help@r-project.org'
> Subject: [R] Help with ddply/summarize
>
> I have a straightforwa
2014 5:32 PM
To: 'r-help@r-project.org'
Subject: [R] Help with ddply/summarize
I have a straightforward application of ddply() and summarize():
ddply(MyFrame, .(Treatment, Week), summarize, MeanValue=mean(MyVar))
This works just fine:
Treatment Week MeanValue
1MyDrug BASE
On Nov 13, 2014, at 3:31 PM, John Posner wrote:
> I have a straightforward application of ddply() and summarize():
>
> ddply(MyFrame, .(Treatment, Week), summarize, MeanValue=mean(MyVar))
>
> This works just fine:
>
> Treatment Week MeanValue
> 1MyDrug BASELINE 5.91
> 2My
I have a straightforward application of ddply() and summarize():
ddply(MyFrame, .(Treatment, Week), summarize, MeanValue=mean(MyVar))
This works just fine:
Treatment Week MeanValue
1MyDrug BASELINE 5.91
2MyDrugWEEK 1 4.68
3MyDrugWEEK 2 4.08
4MyDr
4 matches
Mail list logo