Learn R Programming

nlme (version 3.1-31)

formula.lmList: Extract lmList Object Formula

Description

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

Usage

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

Arguments

Value

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

See Also

lmList

Examples

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

Run the code above in your browser using DataLab