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(object)

Arguments

object an object inheriting from class groupedData.

Value

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

Author(s)

Jose Pinheiro and Douglas Bates

See Also

groupedData

Examples

library(nlme)
data(Orthodont)
formula(Orthodont)


[Package Contents]