check_na_groupings: Check for missing values in grouping variables
Description
Checks if any grouping variable contains missing values (NA or NaN) and
throws an error if so. Used within get_groups().
Usage
check_na_groupings(groups)
Value
NULL; throws an error if missing values are found in any grouping
variable
Arguments
- groups
a list of integer "id" variables