Skip to content
Prev 256122 / 398503 Next

plyr workaround to converting by() to a data frame

Dear all
Is there a clean plyr version of the following by() and do.call(rbind,
...) construct:
Error in as.data.frame.default(dfsum) :
  cannot coerce class '"by"' into a data.frame
[,1] [,2]
[1,]    1   29
[2,]    2   30


Thank you
Liviu