I am looking for some help with a filter function in R. Hope you guys can help me.
I have a following example table:
| 1st | 2nd | 3rd | 4th | 
|---|---|---|---|
| A | K2 | S2 | 13 | 
| B | K1 | S1 | 31 | 
| B | K2 | S1 | 68 | 
| A | K1 | S1 | 101 | 
| B | K1 | S1 | 129 | 
| A | K2 | S1 | 500 | 
| B | K1 | S1 | 129 | 
| A | K2 | S1 | 50 | 
I want to filter-out/remove these specific row combinations from the data set, e.g.:
1st = "A" & 2nd ="K2" & !4th > 100 
AND 
1st = "A" & 2nd ="K1" & !4th > 50 
AND 
1st = "B" & 2nd ="K1" & !4th > 64
Is there any special filter to do that?
 
    