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.