Learn R Programming

nlme (version 3.1-166)

lmeStruct: Linear Mixed-Effects Structure

Description

A linear mixed-effects structure is a list of model components representing different sets of parameters in the linear mixed-effects model. An lmeStruct list must contain at least a reStruct object, but may also contain corStruct and varFunc objects. NULL arguments are not included in the lmeStruct list.

Usage

lmeStruct(reStruct, corStruct, varStruct)

Value

a list of model components determining the parameters to be estimated for the associated linear mixed-effects model.

Arguments

reStruct

a reStruct representing a random effects structure.

corStruct

an optional corStruct object, representing a correlation structure. Default is NULL.

varStruct

an optional varFunc object, representing a variance function structure. Default is NULL.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See Also

corClasses, lme, residuals.lmeStruct, reStruct, varFunc

Examples

Run this code
lms1 <- lmeStruct(reStruct(~age), corAR1(), varPower())

Run the code above in your browser using DataLab