check_redundant_lvls: Check for unnecessary grouping levels
Description
Used within get_groups().
Usage
check_redundant_lvls(groups, nrow_data)
Value
NULL; throws an error if unnecessary grouping levels are found
Arguments
- groups
a list of integer "id" variables