Skip to content
Prev 324638 / 398503 Next

Calculating Mean

Hi again Laura,

Let's say your data.frame is called df, just run this:
aggregate(latency~subject+conditionNo+state, data=df, FUN=mean)

I think this is what you're looking for.
For help, check ?aggregate and ?formula.

HTH,
Ivan

--
Ivan CALANDRA
Universit? de Bourgogne
UMR CNRS/uB 6282 Biog?osciences
6 Boulevard Gabriel
21000 Dijon, FRANCE
ivan.calandra at u-bourgogne.fr
http://biogeosciences.u-bourgogne.fr/calandra

Le 03/06/13 13:29, Laura Thomas a ?crit :