Learn R Programming

lme4breeding (version 1.1.0)

condVarRotated: 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)

Value

Matrix

Arguments

object

model object of class lmeb

Author

Giovanny Covarrubias

See Also

image, lmeb

Examples

Run this code

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)

Run the code above in your browser using DataLab