Skip to content

Commit 6b31528

Browse files
author
Matt Summersgill
committed
rebuild
1 parent 1d2f008 commit 6b31528

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

R/group2NA.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ group2NA <- function(data, groupNames = "group", nested = NULL, ordered = NULL,
5454

5555
allVars <- c(nested, groupNames, ordered)
5656

57-
## first, arrange everything (not required w/data.table?)
58-
5957
# TODO: this is slow
6058
d <- if (retrace.first) {
6159
data.table::setDT(data)[, index := .GRP, keyby = allVars][, .SD[c(1:(.N),1,(.N+1))], keyby = index][,index := NULL]

0 commit comments

Comments
 (0)