C()
Also written: C(col), Treatment(reference=...)
A formula wrapper that marks a column as categorical, so each value gets its own dummy even if it is a number like month. With `Treatment(reference="Mon")` it also lets you pick the reference level.
Also written: C(col), Treatment(reference=...)
A formula wrapper that marks a column as categorical, so each value gets its own dummy even if it is a number like month. With `Treatment(reference="Mon")` it also lets you pick the reference level.