How to filter rows that have value x in column j and value y in column j+1
so in the mtcars example lets say i want to filter out the rows where am =1 and gear = 5. The code below does not do the trick:
mtcars %>% filter(am != 1 & gear != 5)
Thanks
Jelle