- factor_col
A factor vector, eg from df$factorVarName
- code_by
A function to be called, should return a contrast matrix
- reference_level
The name of the level to use as the reference level,
default NA
- set_intercept
The intercept to use, default NA
- drop_trends
The trends to drop, default NA
- labels
A vector of labels to apply to the matrix column names, default
- as_is
Logical, default FALSE, whether to leave the resulting matrix
- ...
Additional arguments to be passed to code_by()