validate_collapse_levels: Validate Collapse Levels Structure
Description
Internal helper to validate the structure of collapse_levels argument.
Usage
validate_collapse_levels(collapse_levels)
Value
TRUE if valid, otherwise stops with an error message.
Arguments
- collapse_levels
The collapse_levels argument from fit_demand_mixed.