[R] Converting a Matrix in a colum vector

2009-12-04 Thread Jose Narillos de Santos
Hi all, Imagine I have a matrix G with N rows and M columns So L=NxM is the number of different cells in my matrix. I want to create a column vector F whose size will be F(L,1) So the fisrt row in F is G(1,1) Second row in F is G(1,2) When we arrive to a point M the element M+1 will be G(2,

Re: [R] Converting a Matrix in a colum vector

2009-12-04 Thread Benilton Carvalho
matrix(t(G), nc=1) b On Dec 4, 2009, at 1:19 PM, Jose Narillos de Santos wrote: Hi all, Imagine I have a matrix G with N rows and M columns So L=NxM is the number of different cells in my matrix. I want to create a column vector F whose size will be F(L,1) So the fisrt row