I have a code which results as a list of data frames, which I want to convert to a single data frame.
Here's an example :
list_Of_Data_Frames <- vector(mode = "list", length = 100)
for (i in 1:100) {
list_Of_Data_Frames[[i]] <- data.frame(a=sample(letters, 500, rep=T),
b=rnorm(500), c=rnorm(500))
}
I am currently using this:
data <- do.call("rbind", list_Of_Data_Frames)