I know there must be an easy answer to this but somehow I can\'t seem to find it...
I have a data frame with 2 numeric columns. I would like to remove from it, the r
Here is an sqldf solution where DF is the data frame of data:
DF
library(sqldf) sqldf("select * from DF a where not exists ( select * from DF b where b.Col1 >= a.Col1 and b.Col2 > a.Col2 or b.Col1 > a.Col1 and b.Col2 >= a.Col2 )" )