Re: [R] Stacking a list of data.frames

2006-09-07 Thread Dimitris Rizopoulos
://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: "TAPO (Thomas Agersten Poulsen)" <[EMAIL PROTECTED]> To: Sent: Thursday, September 07, 2006 1:56 PM Subject: [R] Stacking a list of data.frames Dear list, I have a list of data.frames (generate

[R] Stacking a list of data.frames

2006-09-07 Thread TAPO \(Thomas Agersten Poulsen\)
Dear list, I have a list of data.frames (generated by "by"), that I want to "stack" into a single data.frame. I can do this by cbind, but only by subsetting the list explicitly like this: cbind(l[[1]],l[[2]],l[[3]],l[[4]]) I find this ugly and not very general. I tried cbind(l