JenniNiku / gllvm

Generalized Linear Latent Variable Models
https://jenniniku.github.io/gllvm/
48 stars 20 forks source link

fixing Issue #65 - predict function #66

Closed dwarton closed 2 years ago

dwarton commented 2 years ago

Issue #65 was caused by the generic predict function being (re)defined in the gllvm package, rather than being imported from stats. This (at least on my setup) overwrote all existing s3methods for predict. I have noticed in NAMESPACE that a few other generic functions (vcov, simulate, nobs, AICc, ...) all seem to be redefined in gllvm, can these all please be imported instead, to avoid somewhat disastrous consequences for anyone hoping to work with additional model types beyond gllvm in the same environment.