I know that I can get the variance-covariance matrix in R using VarCorr(model)$grouping.factor after running a lme4 model; but, I would like to understand how to manually obtain each term (except those on diagonal) of anyone of the matrix here. Any help in figuring this out is most appreciated.




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.