extract_idx_flagredundancy: Extract redundancy flag for subgroup combinations
Description
Checks if adding each factor to a subgroup reduces the sample size by at least rmin.
Usage
extract_idx_flagredundancy(x, rmin)
Value
List with id.x (membership vector) and flag.redundant (logical).
Arguments
- x
Matrix of subgroup factor indicators.
- rmin
Integer. Minimum required reduction in sample size.