Variance Covariance Computation for GLMM
vcovCR.glmerModZY.RdComputes robust variance-covariance matrix for generalized linear mixed models
fitted with glmer from the lme4 package. It allows specification of
clustering and supports different types of variance estimations.
Arguments
- obj
 A
glmerModobject representing the fitted model.- cluster
 Optional; a vector indicating the cluster structure within the data. If NULL, attempts to retrieve cluster information from attributes of the model object.
- type
 Character string specifying the type of variance-covariance matrix to compute. Supported types include "classic", with potential for further types depending on method implementation.