[R] Help wit matrices

Lanre Okusanya lanre.okusanya at gmail.com
Fri Aug 10 20:05:50 CEST 2007

Hello all,

I am working with a 1000x1000 matrix, and I would like to return a
1000x1000 matrix that tells me which value in the matrix is greater
than a theshold value (1 or 0 indicator).
i have tried
but that returns a 1:100000 matrix.
I have also tried for loops, but they are grossly inefficient.

THanks for all your help in advance.


More information about the R-help mailing list