Skip to content
Prev 128209 / 398500 Next

flexible processing

Check out summaryBy in the doBy package:
fac1 par1.sum par2.mean  par2.sd
1 group1 12.37374      25.5 14.57738
2 group2 37.62626      75.5 14.57738
fac2  par1.sum par2.mean par2.sd
1 group3  3.030303        13  7.3598
2 group4  9.343434        38  7.3598
3 group5 15.656566        63  7.3598
4 group6 21.969697        88  7.3598

If you don't mind a few extra columns you can omit the [c(...)] part.
On Oct 30, 2007 10:18 AM, Antje <niederlein-rstat at yahoo.de> wrote: