getCorMat | R Documentation |
Get the (square root of the inverse of the) correlation matrix
getCorMat(data, glsSt, Coef = c(coef(glsSt)), control, outVar)
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 |
A list with components
corMat |
The square root of the inverse correlation matrix |
Coef |
The coefficients of the correlation object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.