We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a merge of issues #651, #655 and #1233 since they are very much related. Will close all the other issues.
Note: Remember to thank @MuhammadWaliji and @MichaelChirico for filing those FRs.
Enhanced functionality for mult = argument:
mult =
From #651:
1L
.N
"sample"
sample(.N, size = 1L)
-1L
c(FALSE, TRUE)
See this link for more info from the data.table mailing list. Also refer to #651 if necessary.
0L
mult="none"
[.data.table
The text was updated successfully, but these errors were encountered:
SO post to be updated when "random" is implemented:
"random"
Join data frames and select random row when there are multiple matches
Sorry, something went wrong.
I don't see much benefit to mult = 1L or mult = .N, propose to just drop those.
mult = 1L
mult = .N
No branches or pull requests
This is a merge of issues #651, #655 and #1233 since they are very much related. Will close all the other issues.
Enhanced functionality for
mult =
argument:From #651:
1L
- similar to "first".N
- similar to "last""sample"
- 'random' -sample(.N, size = 1L)
-1L
- all but firstc(FALSE, TRUE)
- even rowsSee this link for more info from the data.table mailing list. Also refer to #651 if necessary.
0L
? - don't return multiple matches. (mult="none"
option in[.data.table
#1233)The text was updated successfully, but these errors were encountered: