Skip to content

Commit 8297a4f

Browse files
nitish jhanitish jha
authored andcommitted
requested changes
1 parent 1640a18 commit 8297a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

man/data.table.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ DT[, list(MySum=sum(v),
419419
MyMax=max(v)),
420420
by=.(x, y\%\%2)] # by 2 expressions
421421

422-
DT[, .(f=f(a), m=g(a)), by=b, verbose=TRUE,
423-
env=list(f="sum", g=mean, b="x")] # subtitution via env arg
422+
DT[, .(f=f(a)), by=b, verbose=TRUE,
423+
env=list(f="sum", b="x")] # subtitution via env arg
424424

425425
DT[, .(a = .(a), b = .(b)), by=x] # list columns
426426
DT[, .(seq = min(a):max(b)), by=x] # j is not limited to just aggregations

0 commit comments

Comments
 (0)