R/utils.R
validate_collapse_levels.Rd
Internal helper to validate the structure of collapse_levels argument.
validate_collapse_levels(collapse_levels)
The collapse_levels argument from fit_demand_mixed.
TRUE if valid, otherwise stops with an error message.