-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[R-Forge #5399] %between% could be vectorised #534
Comments
Hm, currently
In essence, we could promote current vectorised behaviour to do even more -- true range join/subset. Will do and then close. |
Implemented new function |
worker000000
pushed a commit
to worker000000/data.table
that referenced
this issue
Aug 13, 2017
worker000000
pushed a commit
to worker000000/data.table
that referenced
this issue
Aug 13, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submitted by: Michele Carriero; Assigned to: Nobody; R-Forge link
As implemented now
between(x, y[1], y[2], incbounds = TRUE)
%between%
has only a single upper and lower bound. Replacing its body withbetween(x, y[[1]], y[[2]], incbounds = TRUE)
would allow the current usage plus a vectorised usage. Like:
dt[ colA %between% list(colB, colC)]
The text was updated successfully, but these errors were encountered: