-
Notifications
You must be signed in to change notification settings - Fork 5
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
filter_on() doesn't allow logical operator other than =
#6
Comments
For this kind of filtering, Nevertheless, that still won't work for your use case because carsDT %>%
start_expr %>%
arrange(am, vs) %>%
group_by(am, vs) %>%
select(.SD[.N]) %>%
end_expr Note that |
Thanks for the prompt response @asardaes. I came very close earlier by doing:
I realized that you leveraged the I'm aware that Point taken for |
@asardaes: I'll close this, since the negation is not needed with what you already have. A nice touch would be to allow
|
Reprex below.
Intent: get last row by group
Created on 2019-06-23 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: