nlme (version 3.1-86)

coef.lme: Extract lme Coefficients

Description

The estimated coefficients at level $i$ are obtained by adding together the fixed effects estimates and the corresponding random effects estimates at grouping levels less or equal to $i$. The resulting estimates are returned as a data frame, with rows corresponding to groups and columns to coefficients. Optionally, the returned data frame may be augmented with covariates summarized over groups.

Usage

## S3 method for class 'lme':
coef(object, augFrame, level, data, which, FUN, 
       omitGroupingFactor, subset, \dots)

Arguments

Value

a data frame inheriting from class coef.lme with the estimated coefficients at level level and, optionally, other covariates summarized over groups. The returned object also inherits from classes ranef.lme and data.frame.

References

Pinheiro, J. C. and Bates, D. M. (2000), Mixed-Effects Models in S and S-PLUS, Springer, New York, esp. pp. 455-457.

See Also

lme, ranef.lme, plot.ranef.lme, gsummary

Examples

Run this code
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
coef(fm1)
coef(fm1, augFrame = TRUE)

Run the code above in your browser using DataLab