funion: Create formula from union of independent variables of other...

Usage Arguments Details Value Author(s)

Usage

1
funion(..., asString = FALSE)

Arguments

...

Formula objects or strings representing formulas or their right hand sides.

asString

If TRUE then return formula as a string, otherwise as a formula object.

Details

The first formula/string argument should be either the name of the dependent variable or a formula object or string representation of a formula containing a dependent variable (and a ~). This will be used as the dependent variable of the result. The independent variables of the returned result will consist of all independent variables in the function arguments without repetitions.

Value

A formula object or a string representing a formula object.

Author(s)

Ben Veal


vapniks/formula_utils documentation built on May 3, 2019, 4:33 p.m.