createFormula have passedCreate formula with interactions and polynomials if all checks in
createFormula have passed
createFormulaInternal(formula, allVars, maxExponent, interactionDepth,
intercept)formula object
object returned by all.vars
positive integer
positive integer
boolean