Displaying 1 result from an estimated 1 matches for "10000x1000".
Did you mean:
1000x1000
2010 Apr 08
2
subsetting a matrix with specified no of columns
Hello! All,
I am working on 10000x1000 matrix say 'mat' and i want to subset this matrix
in a fashion that in new matrix i get columns 2,3,9,10,16,17,23,24.......so
on. That is pair of columns after every interval of 7. I tried following but
i got an error which is obvious.
>dim(mat)
[1] 10000 10
>a=mat[,c(seq(c(2,3),n...