nlme (version 3.1-39)

formula.groupedData: Extract groupedData Formula

Description

This method function extracts the display formula associated with a groupedData object. This is a two-sided formula of the form resp ~ cov | group, where resp is the response, cov is the primary covariate, and group is the grouping structure.

Usage

## S3 method for class 'groupedData':
formula(x, \dots)

Arguments

x
an object inheriting from class groupedData.
...
some methods for this generic require additional arguments. None are used in this method.

Value

  • a two-sided formula with a conditioning expression, representing the display formula for x.

See Also

groupedData

Examples

Run this code
data(Orthodont)
formula(Orthodont)

Run the code above in your browser using DataLab