getCorMat: Get the (square root of the inverse of the) correlation...

View source: R/getCorMat.R

getCorMatR Documentation

Get the (square root of the inverse of the) correlation matrix

Description

Get the (square root of the inverse of the) correlation matrix

Usage

getCorMat(data, glsSt, Coef = c(coef(glsSt)), control, outVar)

Arguments

data

The data frame

glsSt

The correlation object for gls

Coef

optional vector of coefficients to glsSt

control

the list of control arguments for gls

outVar

the name of the outcome variable

Value

A list with components

corMat

The square root of the inverse correlation matrix

Coef

The coefficients of the correlation object


sthawinke/pengls documentation built on July 2, 2023, 7:27 a.m.