Re: [R] Subset by using multiple values

2006-12-31 Thread Farrel Buchinsky
I found a solution to my problem. I thought I would post it here. That will help me in 3 months when I have forgotten it or some other poor soul who stumbles across the same problem. RawSeqBig<-RawSeqBig[RawSeqBig$ASSAY_ID %in% rejectrs$rs==FALSE,] "Farrel Buchinsky" <[EMAIL PROTECTED]> wrote i

[R] Subset by using multiple values

2006-12-31 Thread Farrel Buchinsky
I have a vector containg about 20 unique values. It is called rejectrs$rs. It is a factor I have a data frame with about 10 rows. I want to exclude all rows where in variable rs the value is one of the 20 on the exclude list. I thought this would work but none did. RawSeqBig<-subset(RawSeqBig,