formula.groupedData {nlme}R Documentation

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

formula(x, ...)

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.

Author(s)

Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu

See Also

groupedData

Examples

data(Orthodont)
formula(Orthodont)

[Package Contents]