Learn R Programming

nlme (version 3.1-31)

Initialize.corStruct: Initialize corStruct Object

Description

This method initializes object by evaluating its associated covariate(s) and grouping factor, if any is present, in data, calculating various dimensions and constants used by optimization algorithms involving corStruct objects (see the appropriate Dim method documentation), and assigning initial values for the coefficients in object, if none were present.

Usage

## S3 method for class 'corStruct':
Initialize(object, data, \dots)

Arguments

Value

an initialized object with the same class as object representing a correlation structure.

See Also

Dim.corStruct

Examples

Run this code
data(Orthodont)
cs1 <- corAR1(form = ~ 1 | Subject)
cs1 <- Initialize(cs1, data = Orthodont)

Run the code above in your browser using DataLab