terms: Model Terms

Description Usage Arguments Details Value References See Also


The function terms is a generic function which can be used to extract terms objects from various kinds of R data objects.


terms(x, ...)



object used to select a method to dispatch.


further arguments passed to or from other methods.


There are methods for classes "aovlist", and "terms" "formula" (see terms.formula): the default method just extracts the terms component of the object, or failing that a "terms" attribute (as used by model.frame).

There are print and labels methods for class "terms": the latter prints the term labels (see terms.object).


An object of class c("terms", "formula") which contains the terms representation of a symbolic model. See terms.object for its structure.


Chambers, J. M. and Hastie, T. J. (1992) Statistical models. Chapter 2 of Statistical Models in S eds J. M. Chambers and T. J. Hastie, Wadsworth & Brooks/Cole.

See Also

terms.object, terms.formula, lm, glm, formula.

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.