Pass arguments to contrast code
Processes a formula and any arguments for the contrast matrix and sets up the use_contrasts call
.process_contrasts(model_data, raw_formula, omit_drop)
model_data
: Data frame with factor columnraw_formula
: Raw formulaomit_drop
: Logical, set to TRUE when set_contrasts is used by appending an attribute to the formula list, otherwise is FALSE (as in enlist_contrasts)A contrast matrix
Useful links