[R] Can the by() function return a single column?

Vassilis vdimitrakas at gmail.com
Wed Dec 15 19:10:05 CET 2010

Hi Gerrit, 

This does exactly what I want, thank you very much! 

Even more, I notice that ave() uses the split/unsplit functions under the
hood, which are very useful tools as they allow to apply even more
complicated functions on a factor-by-factor basis. 


View this message in context: http://r.789695.n4.nabble.com/Can-the-by-function-return-a-single-column-tp3089231p3089556.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list