Using the iris dataset, I want to remove values that match the below dataframe in that I want to remove any with the species name setosa that has the petal.length of 1.4 and remove any with the species name versicolor that has the petal.length of 4.6. This table can update anytime so the query needs to reference the table.
#dataframe of things to remove
species<-c("setosa","versicolor")
Petal.Length<-c(1.4,4.6)
remove<-data.frame(species,Petal.Length, stringsAsFactors = FALSE)
#iris dataset
iris<-iris
Whats the best way to do this?