r: Convert list of matrices to a data frame -


i ran foreach loop build list of 100 matrices. output of each loop 1 7x12 matrix. now, want create scatterplot last 2 columns of each of matrices using ggplot2. this, figure need convert list 1 big data.frame come out 700x12. other posters have solved list of vectors don't see 1 works situation. here have tried:

as.data.frame(matrix(t(unlist(mylist)), ncol=12))) rbind(mylist[1:100]) 

in base r, use:

reduce( rbind.data.frame, mylist[1:100] ) 

Comments