formula.corStruct {nlme}R Documentation

Extract corStruct Object Formula

Description

This method function extracts the formula associated with a corStruct object, in which the covariate and the grouping factor, if any is present, are defined.

Usage

formula(x, ...)

Arguments

x an object inheriting from class corStruct representing a correlation structure.
... some methods for this generic require additional arguments. None are used in this method.

Value

an object of class formula specifying the covariate and the grouping factor, if any is present, associated with x.

Author(s)

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

See Also

formula

Examples

cs1 <- corCAR1(form = ~ Time | Mare)
formula(cs1)

[Package Contents]