Builds a list of treatments from a formula, or from a number of factors.
Usage
fp_treatments(arg)
Value
A list of treatments (character vector).
Arguments
arg
Either a formula or a number of factors. If it is a formula, the
factors are extracted from it. If it is a number, the factors are the first
n capital letters.
Details
Defining relationships are represented as one side formulas, e.g. $I=ABC$
becomes ~A*B*C.