commit | e9e18bd9d801298b94773367f1f199fb237be325 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Jun 04 17:15:02 2025 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Jun 04 17:15:02 2025 +0200 |
tree | 67a7f33d690546975802a5418fbe3438c0646cdb | |
parent | 319e74659c66d809cf6081c549a8290b6562c8f4 [diff] |
Fix minOccur filter with base pipe in collocation analysis Change-Id: I6a74525de4fa08e0770966e3a8dba1a6de263b21
diff --git a/R/collocationAnalysis.R b/R/collocationAnalysis.R index 16987c6..fe3ac2a 100644 --- a/R/collocationAnalysis.R +++ b/R/collocationAnalysis.R
@@ -197,7 +197,7 @@ ) |> bind_rows(result) |> filter(logDice >= 2) |> - filter(.$O >= minOccur) |> + filter(O >= minOccur) |> dplyr::arrange(dplyr::desc(logDice)) } if (addExamples && length(result) > 0) {