formula.modelStruct {nlme}R Documentation

Extract modelStruct Object Formula

Description

This method function extracts a formula from each of the components of object, returning a list of formulas.

Usage

formula(object)

Arguments

object an object inheriting from class modelStruct, representing a list of model components, such as corStruct and varFunc objects.

Value

a list with the formulas of each component of object.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

formula

Examples

lms1 <- lmeStruct(reStruct = reStruct(pdDiag(diag(2), ~age)),
   corStruct = corAR1(0.3))
formula(lms1)

[Package Contents]