I have a dataframe in R, in which I want to remove all rows of a particular group if two or more specific groups are present. In the example below, I want to remove all the rows