Extract covariance matrix of the random effects for a model fitted with lme4.

extractVarCov(m)

Arguments

m

a fit from lme4 package (either linear or nonlinear)