Programmatic Utilities for Manipulating Formulas, Expressions, Calls, Assignments and Other R Objects
Converts a formula to character
Get the environment
Manipulate the component parts of formulas, expressions, calls, name/s...
Get variable (names) from various R objects
invert
Invert multiple elements of a multiple element object
Determine if an object is one- or two-sided.Test whether a object (typ...
Get the operator type used in an call, formula, expression, etc.
Split object into terms
terms
toggle the sign of an expression
These utilities facilitate the programmatic manipulations of formulas, expressions, calls, assignments and other R language objects. These objects all share the same structure: a left-hand side, operator and right-hand side. This packages provides methods for accessing and modifying this structures as well as extracting and replacing names and symbols from these objects.
Useful links