Dear all, I would like to subset a dataframe using multiple conditions. So if I have two columns 1 and 2, I would like to EXCLUDE all rows in which the value of column 1 is "a" AND the value of column 2 is "b". I tried data[(data$column1 != "a" & data$column2 != "b"),] but that deletes me every row in which either 1 is "a" or 2 is "b". Any ideas? Thanks so much K
[[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.