Learn R Programming

nlme (version 3.1-31)

formula.corStruct: 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

## S3 method for class 'corStruct':
formula(x, \dots)

Arguments

Value

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

See Also

formula

Examples

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

Run the code above in your browser using DataLab