| commit | 9c53e4171317c646bacdfe8d73b1ab128635700a | [log] [tgz] |
|---|---|---|
| author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Jun 21 12:13:44 2026 +0200 |
| committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Jun 21 12:15:17 2026 +0200 |
| tree | 90b09d08c51d63a81248703053fe3c313459c24b | |
| parent | 9db18916673b89e148edd7090480ece1a304c0fa [diff] [blame] |
Make collocationScoreQuery() accept a vector of collocates Change-Id: I719c7577393f352fcfebe740a13fbf0daf790d3c
diff --git a/R/collocationAnalysis.R b/R/collocationAnalysis.R index 81ca661..7240eca 100644 --- a/R/collocationAnalysis.R +++ b/R/collocationAnalysis.R
@@ -405,7 +405,11 @@ return(result) } - distinct_pairs <- dplyr::distinct(result, node, collocate) + distinct_pairs <- dplyr::distinct( + result, + .data$node, + .data$collocate + ) if (nrow(distinct_pairs) == 0) { return(result) }