validate_collapse_levels: Validate Collapse Levels Structure

View source: R/utils.R

validate_collapse_levelsR Documentation

Validate Collapse Levels Structure

Description

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.


beezdemand documentation built on March 3, 2026, 9:07 a.m.