[R-sig-ME] Error from glmmTMB().

Rolf Turner r@turner @end|ng |rom @uck|@nd@@c@nz
Sun Mar 15 04:32:15 CET 2020


I am getting an error, that I have no idea what to do about, from glmmTMB():

library(glmmTMB)
fmla <- cbind(Dead, Alive) ~ (Trt + 0)/Dose + (Dose | Rep)
X    <- dget("X.txt")
fit  <- glmmTMB(fmla, data = X, family = betabinomial(link = "cloglog"),
                dispformula = ~1)

> Error in optimHess(par.fixed, obj$fn, obj$gr) : 
>   gradient in optim evaluated to length 1 not 16
> In addition: There were 16 warnings (use warnings() to see them)

The warnings are all repetitions of

> 1: In nlminb(start = par, objective = fn, gradient = gr,  ... :
>   NA/NaN function evaluation

The error sounds to me like something is amiss in the code.

Can anyone confirm/deny/suggest what I might do to get this call to 
glmmTMB() to run?

Thanks.

cheers,

Rolf Turner

P.S.  The data set is attached.

-- 
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: X.txt
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20200315/ce4880f3/attachment.txt>


More information about the R-sig-mixed-models mailing list