[R] summaryBy(): Is it the best option?

Werner Wernersen pensterfuzzer at yahoo.de
Tue Dec 5 01:30:50 CET 2006


Hi,

since I have quite large tables and the processing
takes quite a while I am
curious if I can improve the performance of this
aggregation somehow: At the 
moment I am using summaryBy from the doBy package
under R 2.4.0, Win2K.

summaryBy(soc_s6aq5 + soc_s6aq7 + soc_s6aq9 +
soc_s6aq11 ~ hh + 
comgroup,soc6a,postfix=c("","","",""),FUN=sum,
na.rm=T)

The data.frame has 124100 rows and 13 cols.

Thanks for any hints!

Werner




More information about the R-help mailing list