family() returns the R family() object of a fit: gaussian() for
lmm() fits and the GLMM family (with its link) for glmm() fits. For
negative-binomial fits it is MASS::negative.binomial(theta) at the
fitted (or fixed) theta, like lme4::glmer.nb(); when MASS is not
installed an equivalent family object with the same variance, deviance and
link functions is returned.
Details
weights() mirrors lme4:::weights.merMod(): type = "prior" returns the
prior weights, a vector of ones when the model was fitted without weights;
type = "working" returns the final PIRLS working weights of a GLMM.