formula.lmList {nlme}R Documentation

Extract lmList Object Formula

Description

This method function extracts the common linear model formula associated with each lm component of x.

Usage

formula(x, ...)

Arguments

x an object inheriting from class lmList, representing a list of lm objects with a common model.
... some methods for this generic require additional arguments. None are used in this method.

Value

a two-sided linear formula specifying the linear model used to obtain the lm components of x.

Author(s)

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

See Also

lmList

Examples

data(Orthodont)
fm1 <- lmList(distance ~ age | Subject, Orthodont)
formula(fm1)

[Package Contents]