search for: ind_matrix

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

Did you mean: idmatrix
1999 Sep 01
0
Re: [S] Putting values into matrices: desired behaviour?
...>> test Mette> [,1] [,2] [,3] Mette> [1,] NA NA NA Mette> [2,] NA NA NA Mette> I then want to put values into parts of the matrix, but by mistake I Mette> index outside the matrix (use rows 3-7 when there are only 2 rows). >> ind_matrix(c(1,2,3,4,5,6,7,2,2,2,2,2,2,2),ncol=2) >> ind Mette> [,1] [,2] Mette> [1,] 1 2 Mette> [2,] 2 2 Mette> [3,] 3 2 Mette> [4,] 4 2 Mette> [5,] 5 2 Mette> [6,] 6 2 Mette> [7,] 7 2 >&g...