`hatTrace(x)`

x

a fitted model object that inherits from the

mer

class- The trace of the hat matrix at the parameter estimates. This is a measure of the complexity of the model, conditional on the relative variance components.

hatTrace(lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy))