I have used the call below to "join" my datasets based on an inequality condition:
library(sqldf)
sqldf("select *
from dataset1 a,
dataset2 b
a.col1 <= b.col2")
However, is there a way I can do this without sqldf?
So far, I can only see merge functions that are based on simple joins on a particular common column.
Thanks!