Process code_by
Handles the code_by
parameter and checks to make sure whether we can safely drop trends or not. Also handles any usage of I()
.process_code_by(formula, params, env, verbose)
formula
: Formula used to set contrastparams
: Parameter listenv
: Not usedverbose
: Whether to throw the warning about invalid -
usageModified parameter list with updated code_by
Useful links