Skip to contents

Internal helper to validate the structure of collapse_levels argument.

Usage

validate_collapse_levels(collapse_levels)

Arguments

collapse_levels

The collapse_levels argument from fit_demand_mixed.

Value

TRUE if valid, otherwise stops with an error message.