Skip to content

rbinding dataframes

2 messages · L C G Rogers, Brian Ripley

#
I've got a data frame which I've split by a factor, 
creating a list of dataframes which I have then done
various operations on individually. I next want to 
recombine the resulting dataframes (still held in a list,
still with the same number of columns with the same names)
and there does not appear to be a `good' way to do this - 
at the moment, I'm using a for-loop with the rbind
command, but this is terribly slow ...  Anyone know a
better way to do it?

Thanks

Chris Rogers

-----------------------------------------------------------------------
L C G Rogers, Professor of Probability              tel:+44 1225 826224
Department of Mathematical Sciences                 fax:+44 1225 826492
University of Bath, Bath BA2 7AY, GB

Email: L.C.G.Rogers at bath.ac.uk  web: www.bath.ac.uk/~maslcgr/home.html
-----------------------------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 25 Sep 2001, L C G Rogers wrote:

            
do.call("rbind", list.of.data.frames)