Re: [R] problem with not in in subseting dataframe

2010-05-26 Thread jim holtman
try: stemp<-subset(temp, !(obj1 %in% obj2),select=c(temp)) On Wed, May 26, 2010 at 7:57 AM, venkata kirankumar wrote: > Hi all, > I have a problem while subsetting a dataframe that is > > while I am using  *%in%* condition like > > *stemp<-subset(temp, obj1 %in% obj2,select=c(temp))* > > this is

[R] problem with not in in subseting dataframe

2010-05-26 Thread venkata kirankumar
Hi all, I have a problem while subsetting a dataframe that is while I am using *%in%* condition like *stemp<-subset(temp, obj1 %in% obj2,select=c(temp))* this is working and giving results that what ever is there is both *obj1*and *obj2* ** ** but I want to get values which is there in *obj1* b