Re: [R] conversion of matrix into list

2011-06-03 Thread Norm Matloff
Martin Spindler wrote: > I have a matrix X which consists of 2 columns. I would like to convert this > matrix into a list where every entry of the list consists of a single row of > the matrix. Here's another way besides split(): # returns a list of the matrix m's rows (rowcol=1) or columns mat2

[R] conversion of matrix into list

2011-06-01 Thread Martin Spindler
Dear all, I have a matrix X which consists of 2 columns. I would like to convert this matrix into a list where every entry of the list consists of a single row of the matrix. Does anyone have a suggestions how to manage this? Thank you for your efforts in advance! Best, Martin