Learn R Programming

nlme (version 3.1-31)

formula.lme: Extract lme Object Formula

Description

This method function extracts the fixed effects model formula associated with x.

Usage

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

Arguments

Value

a two-sided linear formula specifying the fixed effects model used to obtain x.

See Also

lme

Examples

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

Run the code above in your browser using DataLab