Programmatic Utilities for Manipulating Formulas, Expressions, Calls, Assignments and Other R Objects


[Up] [Top]

Documentation for package ‘formula.tools’ version 1.7.1

Help Pages

.invert.plural Invert multiple elements of a multiple element object
.invert.single Invert multiple elements of a multiple element object
.lhs.vars Get variable (names) from various R objects
.replace.lhs.plural Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
.replace.op.plural Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
.replace.rhs.plural Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
.replace.rhs.singular Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
.replace.ths.plural Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
.rhs.singular Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
.rhs.vars Get variable (names) from various R objects
as.character Converts a formula to character
as.character.formula Converts a formula to character
env Get the environment
env.formula Get the environment
formula.parts Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
get.vars Get variable (names) from various R objects
get.vars,ANY,ANY-methods Get variable (names) from various R objects
get.vars,NULL,ANY-methods Get variable (names) from various R objects
get.vars-method Get variable (names) from various R objects
invert invert
invert-method invert
is.one.sided Determine if an object is one- or two-sided. Test whether a object (typically formula, call or expression) is one- (e.g. '~x') or two-sided (e.g. 'x~y').
is.one.sided-method Determine if an object is one- or two-sided. Test whether a object (typically formula, call or expression) is one- (e.g. '~x') or two-sided (e.g. 'x~y').
is.two.sided Determine if an object is one- or two-sided. Test whether a object (typically formula, call or expression) is one- (e.g. '~x') or two-sided (e.g. 'x~y').
is.two.sided-method Determine if an object is one- or two-sided. Test whether a object (typically formula, call or expression) is one- (e.g. '~x') or two-sided (e.g. 'x~y').
lhs Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
lhs-method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
lhs.vars Get variable (names) from various R objects
lhs.vars-method Get variable (names) from various R objects
lhs<- Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
lhs<--method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
op Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
op-method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
op.type Get the operator type used in an call, formula, expression, etc.
op.type-method Get the operator type used in an call, formula, expression, etc.
op.type-methods Get the operator type used in an call, formula, expression, etc.
op<- Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
op<--method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
rhs Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
rhs-method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
rhs.vars Get variable (names) from various R objects
rhs.vars-method Get variable (names) from various R objects
rhs<- Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
rhs<--method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.
split_terms Split object into terms
terms terms
terms.call terms
terms.expression terms
toggle.sign toggle the sign of an expression
`lhs<-`-method Manipulate the component parts of formulas, expressions, calls, name/symbols and list and vectors of such objects.