[R] summarizing replicates with multiple treatments

Levi Waldron leviwaldron at gmail.com
Wed Mar 5 04:49:53 CET 2008


On Tue, Mar 4, 2008 at 5:32 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
> Try this:
>
>  library(doBy)
>  summaryBy(. ~ day + treat, exampledata, FUN = c(mean, sd))

Outstanding, so much better.  Thanks.



More information about the R-help mailing list