formula.lme {nlme}R Documentation

Extract lme Object Formula

Description

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

Usage

formula(x, ...)

Arguments

x an object inheriting from class lme, representing a fitted linear mixed-effects model.
... some methods for this generic require additional arguments. None are used in this method.

Value

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

Author(s)

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

See Also

lme

Examples

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

[Package Contents]