fintersect: Create formula from intersection of independent variables of...

Usage Arguments Details Value Author(s)

Usage

1
fintersect(..., 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 the intersection of all independent variables in the function arguments.

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.