-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
1L="first"
.N="last"
sample(.N,size=1) = "random" (original proposal)
-1L = all but first
c(FALSE,TRUE) # even rows
but not expressions of column names in mult, leave that to .SD. For expressions of column names in mult, it would need to be passed through to dogroups.c and a more efficient .SD[i](evaluating i first in the special case of .SD[i]) seems a better way to do that, perhaps.