condVarRotated: Get the rotated conditional variance matrix

View source: R/utils.R

condVarRotatedR Documentation

Get the rotated conditional variance matrix

Description

Retrieve the conditional variance matrix from the random effects rotated by the Cholesky factors and Eigen factors if applicable.

Usage

condVarRotated(object)

Arguments

object

model object of class lmeb

Value

Matrix

Author(s)

Giovanny Covarrubias

See Also

image, lmeb

Examples


data(DT_example, package="enhancer")
DT <- DT_example
A <- A_example
head(DT)

## Compound simmetry (CS) model
ans1 <- lmeb(Yield~Env + (1|Name) + (1|Env:Name),
                 data=DT)
vc <- VarCorr(ans1); print(vc,comp=c("Variance"))

condVarMat <- condVarRotated(ans1)
# image(condVarMat)


lme4breeding documentation built on Nov. 19, 2025, 5:07 p.m.