Skip to content
Prev 274032 / 398506 Next

binding all elements of list (character vectors) to a matrix as rows

On Oct 11, 2011, at 2:47 AM, Marion Wenty wrote:

            
rbind(Mymatrix, t(as.data.frame(Z)))

The next method could be used if you had more lists:

do.call(rbind, list(Mymatrix, t(as.data.frame(Z))))