Covariance matrices for random effect models

rescov(model, ...)

Source

https://stackoverflow.com/questions/45650548/get-residual-variance-covariance-matrix-in-lme4/45655597#45655597

Arguments

model

linear mixed model fitted via lme4::lme, or an object of class lmerMod

...

additional arguments, currently ignored

Value

an invisible list with components var_y, var_raneff, var_error

Author

Ben Bolker