jeff-hughes / reghelper

R package with regression helper functions
5 stars 5 forks source link

beta() fails on model of class lmerTest #4

Closed jflournoy closed 4 years ago

jflournoy commented 4 years ago
> reghelper::beta(lmerTestModel)
Error in data[, vars[i]] : object of type 'closure' is not subsettable

This is because the test of the class fails in function .create_formula on line 183:

    } else if (modelClass == 'lmerMod') {