Automatically selects low-high units in a tibble as well as assigns them into groups
Usage
select_low_high_units(data, var, number_of_pairs)
Arguments
- data
input dataset (required)
- var
variable of interest (required)
- number_of_pairs
Number of low-high pairs to be created. Takes a numeric value (required)
Value
A tibble object filtered down to the low-high units selected