search for: tp3027266p3027307

Displaying 1 result from an estimated 1 matches for "tp3027266p3027307".

2010 Nov 04
2
Matrix Manipulation
Hi, Is there a quick way to go from this matrix: > A [,1] [,2] [,3] [1,] 1 1 1 [2,] 2 2 2 [3,] 3 3 3 [4,] 4 4 4 [5,] 5 NA 5 [6,] NA NA 6 [7,] NA NA NA to this matrix: > B [,1] [,2] [,3] [1,] 1 NA NA [2,] 2 NA 1 [3,] 3 1 2 [4,] 4 2 3 [5,] 5 3 4 [6,] NA 4 5 [7,] NA NA 6