dot-process_contrasts: Pass arguments to contrast code

.process_contrastsR Documentation

Pass arguments to contrast code

Description

Processes a formula and any arguments for the contrast matrix and sets up the use_contrasts call

Usage

.process_contrasts(model_data, raw_formula, omit_drop)

Arguments

model_data

Data frame with factor column

raw_formula

Raw formula

omit_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)

Value

A contrast matrix


contrastable documentation built on Oct. 1, 2024, 5:07 p.m.