Re: [R] using rbind() on multiple objects at once

2008-04-18 Thread Andrew Yee
Thanks! On 4/18/08, Katharine Mullen <[EMAIL PROTECTED]> wrote: > do.call(rbind, list.foo) > > On Fri, 18 Apr 2008, Andrew Yee wrote: > > > Is there an efficient way to use rbind() with the five dataframes > described > > in the following example: > > > > a <- c(1:5) > > list.foo <- lapply(a, f

Re: [R] using rbind() on multiple objects at once

2008-04-18 Thread Katharine Mullen
do.call(rbind, list.foo) On Fri, 18 Apr 2008, Andrew Yee wrote: > Is there an efficient way to use rbind() with the five dataframes described > in the following example: > > a <- c(1:5) > list.foo <- lapply(a, function(x) data.frame(beta=a*rnorm(10), > deta=a*rnorm(10))) > big.data.frame <- rbin

[R] using rbind() on multiple objects at once

2008-04-18 Thread Andrew Yee
Is there an efficient way to use rbind() with the five dataframes described in the following example: a <- c(1:5) list.foo <- lapply(a, function(x) data.frame(beta=a*rnorm(10), deta=a*rnorm(10))) big.data.frame <- rbind(list.foo[[1]], list.foo[[2]], list.foo[[3]], list.foo[[4]], list.foo[[5]]) #is