Skip to content
Prev 59347 / 398502 Next

How to calculate the stratified means in a data frame?

Frank Duan <fhduan at gmail.com> writes:
tapply() will do that. (help(tapply), look at the "presidents" example).