search for: cat000_a03

Displaying 2 results from an estimated 2 matches for "cat000_a03".

Did you mean: cat000_a01
2005 Feb 17
6
Converting a list to a matrix - I still don't think I have it right
Hi We have touched on this before, but I don't think I quite got it right. So I have a list, each element of which is a a vector of 2 numbers: > l2 $cat000_a01 [1] 0.3429944 4.5138244 $cat000_a02 [1] 0.1929336 4.3064944 $cat000_a03 [1] -0.2607796 4.1551591 What I actually want to convert this into is a matrix with the names (cat000_a01 etc) as row names, the first element of each of the vectors forming the first column of the new matrix, and the second element of each of the vectors forming the second column: cat000_a01 0....
2005 Feb 17
0
Converting a list to a matrix - I still don't think I hav e it right
...gt; > We have touched on this before, but I don't think I quite got > it right. > > So I have a list, each element of which is a a vector of 2 numbers: > > > l2 > $cat000_a01 > [1] 0.3429944 4.5138244 > > $cat000_a02 > [1] 0.1929336 4.3064944 > > $cat000_a03 > [1] -0.2607796 4.1551591 > > What I actually want to convert this into is a matrix with the names > (cat000_a01 etc) as row names, the first element of each of > the vectors > forming the first column of the new matrix, and the second element of > each of the vectors formi...