Re: [R] List of List in Data Frame

2011-01-31 Thread David Winsemius
On Jan 31, 2011, at 8:45 PM, Gundala Viswanath wrote: Dear sirs, I have a data that is generated like this: dat1 <- data.frame(V1 = rep(1, 5), V2 = sample(c(40:45), 5)) dat2 <- data.frame(V1 = sample(c(0,1), 5, replace = TRUE), V2 = sample(c(40:45), 5, replace = TRUE)) What I want to do

[R] List of List in Data Frame

2011-01-31 Thread Gundala Viswanath
Dear sirs, I have a data that is generated like this: > dat1 <- data.frame(V1 = rep(1, 5), V2 = sample(c(40:45), 5)) > dat2 <- data.frame(V1 = sample(c(0,1), 5, replace = TRUE), V2 = > sample(c(40:45), 5, replace = TRUE)) What I want to do is to obtain a data frame that contain list of list. >