hatvalues.merMod: Diagonal elements of the hat matrix
Description
Returns the values on the diagonal of the hat matrix, which is the
matrix that transforms the response vector (minus any offset) into the
fitted values (minus any offset). Note that this method should only
be used for linear mixed models. It is not clear if the hat matrix
concept even makes sense for generalized linear mixed models.