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