Learn R Programming

BMSC (version 0.2.1)

createFormulaInternal: Create formula with interactions and polynomials if all checks in createFormula have passed

Description

Create formula with interactions and polynomials if all checks in createFormula have passed

Usage

createFormulaInternal(formula, allVars, maxExponent, interactionDepth,
  intercept)

Arguments

formula

formula object

allVars

object returned by all.vars

maxExponent

positive integer

interactionDepth

positive integer

intercept

boolean