Displaying 1 result from an estimated 1 matches for "hundredsmatrices".
2011 Nov 18
1
extract positions from matrix
...7 42
[4,] 33 38 43
[5,] 34 39 44
The positions I wish to extract are 1 and 5 of the first row of each
matrix (in my case are 25positions) and with this generate a new matrix
with the form
d=
[,1] [,2] [,3]
[1,] 1 15 30
[2,] 5 19 34
The ideais to builda loop toextract thisinformation from
hundredsmatrices, butI failed todo so.
Any helpwould be greatthank you very muchin advance
regards
.jpg
[[alternative HTML version deleted]]