[R] subsetting a matrix based on condition

A Ezhil ezhil02 at yahoo.com
Tue Feb 24 16:59:31 CET 2009


Dear All,

I have matrix of size 2500 x 12. I would like to select all the rows if 6 out 12 values are > 0. How can I do that in R? 

Thanks in advance.

Kind regards,
Ezhil




More information about the R-help mailing list