Learn R Programming

lavaSearch2 (version 1.0.0)

coef2: Export Mean and Variance Coefficients from a nlme Model

Description

Export mean and variance coefficients from a nlme model.

Usage

.coef2(object)

# S3 method for gls .coef2(object)

# S3 method for lme .coef2(object)

Arguments

object

a gls or lme object.

Details

The variance coefficients that are exported are the residual variance of each outcome. This is \(\sigma^2\) for the first one and \(k^2 \sigma^2\) for the remaining ones.