Build model formula from user specification
Arguments
- expected
Formula, character shortcut, or NULL
- vars
Character vector of margin variable names (with prefixes like x__Class)
- conds
Character vector of conditioning variable names (optional, with prefixes)
- variable_labels
Optional named character vector mapping internal variable names to their original expressions.
