When using use_contrasts()
with a function or matrix, there are shared
postprocessing steps for manipulating the contrasts to set the reference
level, intercept, and labels. If as_is is TRUE, then these post processing
steps aren't included.
.postprocess_matrix(
new_contrasts,
code_by,
reference_level,
set_intercept,
drop_trends,
matrix_labels,
labels,
as_is,
dots
)
Contrast matrix
Contrast matrix passed from use_contrasts()
What to code with, passed from use_contrasts()
Reference level specification
Intercept specification
Any trends to drop
Labels from the matrix dimension names
User-specified labels
Whether to use matrix as-is
Any additional arguments passed with code_by
use_contrasts()