Skip to content
Prev 169082 / 398506 Next

lapply and aggregate function

You might want to look at the doBy package

For (1), you could use
summaryBy(value~Light+Feed,data=myD, FUN=mean)

and for (2), the transformBy function would be helpful

David Freedman
Patrick Hausmann wrote: