Re: [R] Extract rows from a matrix according to value in column

2011-08-02 Thread Ista Zahn
Hi Sverre, On Tue, Aug 2, 2011 at 10:22 PM, Sverre Stausland wrote: > Dear helpers, > > I'm trying to extract certain rows from a matrix according to the > values the rows have in a certain column. I've been googling for a > while without result. > > Here's a reproducible example of a matrix (and

[R] Extract rows from a matrix according to value in column

2011-08-02 Thread Sverre Stausland
Dear helpers, I'm trying to extract certain rows from a matrix according to the values the rows have in a certain column. I've been googling for a while without result. Here's a reproducible example of a matrix (and the one I was playing with initially): > myrepo<-getOption("repos") > myrepo["CR