I have a list of 10 matrices called mat.list, each is a 3 by 20 matrix, mat1 to mat10.
I want to make a dataframe whose rows are the first row of each matrix. hence a 10 by 20 dataframe.
for(i in 1:10){
my.df <- rbind(my.df , mat.list[[i]][i,])
}
this is not doing what I want. it appends many more rows. how can I do this job?