Skip to content

Commit

Permalink
specify data.table merge
Browse files Browse the repository at this point in the history
  • Loading branch information
robitalec committed Apr 14, 2024
1 parent 625d6d3 commit 5cfecc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/edge_dist.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ edge_dist <- function(DT = NULL,


if (fillNA) {
merge(edges,
data.table::merge.data.table(edges,
unique(DT[, .SD, .SDcols = c(splitBy, id)]),
by.x = c(splitBy, 'ID1'),
by.y = c(splitBy, id),
Expand Down

0 comments on commit 5cfecc8

Please sign in to comment.