Error : $ operator not defined for this S4 class
Error in modelparm.default(model, ...) :
no ‘coef’ method for ‘model’ found!
which seems to fly in the face of coef(fit) actually working as expected - presumably invoking the mle2-method? The error message seems to indicate that for some reason, stats:::coef.default was deployed by modelparm...?
This is somewhat surprising, as you really only need a
coef
- and avcov
-method, both of whichstpm2
has... but look at this (from the documentation):throws error
which seems to fly in the face of
coef(fit)
actually working as expected - presumably invoking themle2
-method? The error message seems to indicate that for some reason,stats:::coef.default
was deployed bymodelparm
...?Thanks!