drizopoulos / GLMMadaptive

GLMMs with adaptive Gaussian quadrature
https://drizopoulos.github.io/GLMMadaptive/
60 stars 14 forks source link

Bug in predict with subject_specific ? #12

Closed florianhartig closed 5 years ago

florianhartig commented 5 years ago

Tried to implement the residuals for https://github.com/drizopoulos/GLMMadaptive/issues/11, but realised that predict works with mean_subject, but not subject_specific ... is this a bug, or is there a reason why this wouldn't work?

> predict(fittedModel, type_pred = "response", type = "subject_specific")
Error: object of type 'closure' is not subsettable
drizopoulos commented 5 years ago

Thanks! This should now be resolved.