Check overlap between existing and new slope rulesets
Source:R/utils-slope_selector.R
check_slope_rule_overlap.Rd
Takes in tables with existing and incoming selections and exclusions, finds any overlap and differences, edits the ruleset table accordingly.
Arguments
- existing
Data frame with existing selections and exclusions.
- new
Data frame with new rule to be added or removed.
- slope_groups
List with column names that define the groups.
- .keep
Whether to force keep fully overlapping rulesets. If FALSE, it will be assumed that the user wants to remove rule if new range already exists in the dataset. If TRUE, in that case full range will be kept.