I have a matrix (32X48).
How can I convert the matrix into a single dimensional array?
It might be so late, anyway here is my way in converting Matrix to vector:
library(gdata) vector_data<- unmatrix(yourdata,byrow=T))
hope that will help