terms.call {formula.tools} | R Documentation |
terms method for call and expression objects
## S3 method for class 'call'
terms(x, ...)
## S3 method for class 'expression'
terms(x, ...)
x |
A call object |
... |
Arguments passed to This S3 method returns a terms object for a call methods using a dispatch to
The terms are generated by making a rhs only call to
Some edge cases may not be supported. |
A terms object. See terms.object
for details.
Christopher Brown
terms( quote( A + B ) )
data(iris)
x <- terms( quote( . - Species ) , data=iris )