Removes subgroups with nearly identical statistics (HR, n, E, etc.) to reduce redundancy in candidate list.
remove_near_duplicate_subgroups(
hr_subgroups,
tolerance = 0.001,
details = FALSE
)Data.table with near-duplicate rows removed.
Data.table of subgroup results.
Numeric. Tolerance for numeric comparison (default 0.001).
Logical. Print details about removed duplicates.