terms.call {formula.tools} | R Documentation |
This S3 method returns a terms object for a call methods using a dispatch to
terms.formula
.
## S3 method for class 'call': terms(x, ...)
x |
A call object |
... |
Arguments passed to terms.formula |
The terms are generated by making a rhs only call to terms.formula
.
data
is only needed and must be explicitly specified, i.e.
data =
if there are special elements such as '.'. Otherwise
the data
argument is unused.
Some edge cases may not be supported.
A terms object. See terms.object
for details.
Christopher Brown
terms.object
and terms.formula
terms( quote( A + B ) ) data(iris) x <- terms( quote( . - Species ) , data=iris )