For R, I understand that the package lme4 and the function glmer roughly corresponds to glimmix in SAS. What is the default covariance structure when fit and can it be changed? If so how?
1 Answer
$\begingroup$
$\endgroup$
I do not know about SAS, but variance in glmer
is controlled by family
argument. If you want to change correlation structure then I suspect you will have to use nlme
from nlme package.