Subset data frame based on multiple conditions [duplicate]

Logic index:

d<-d[!(d$A=="B" & d$E==0),]

Leave a Comment