JenniNiku / gllvm

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

Gamma GLLVM: argument "shape" is missing #180

Closed AlainZuur closed 3 months ago

AlainZuur commented 3 months ago

Got an error with the development version. Works ok in CRAN version. Alain

M1.X <- gllvm(y = MorphData, X = CovData, formula = ~ Location, row.eff = "random", num.lv = 1, seed = 12345, control.start = list(n.init = 5, jitter.var = 0.1), family = "gamma")

Error in pgamma(as.vector(y)) : argument "shape" is missing, with no default

BertvanderVeen commented 3 months ago

Thanks Alain, this was a bug caused by a change in the development version, and has now been fixed.

AlainZuur commented 3 months ago

Thanks. I am rerunning all exercises from scratch again..using the development version. I have a few more errors popping up. But will send them tonight or tomorrow.

Alain

BertvanderVeen commented 3 months ago

Sounds good. I am very busy this week but I am happy to address them as soon as I can.