Skip to content
Prev 360449 / 398503 Next

From NUM to INT

Ok. I`m trying to run a Poisson glmm with an observation-level random
intercept. But I`m getting the following error for the 'Baci' variable:

'Error: (maxstephalfit) PIRLS step-halvings failed to reduce deviance in
pwrssUpdate'. I  guess this message is because the baci variable is not a
an integer, and cannot be transformed into an integer as R has a threshold
of
2x10^9 even in 64 bit R.

It runs fine for the fungii variable.

If you guys want to run the data (attached), the full command is below.

Thanks.

---------------------------------------------

##Import data:

qPCR <- read.delim(file.choose(),
                 header = TRUE,
                 dec = ".")

##Load package

library(lme4)

##Other steps:

qPCR$obs <- 1:nrow(qPCR)
qPCR$fID<-as.factor(qPCR$ID)
qPCR$fDiet<-as.factor(qPCR$Diet)

##Run the model:

M1 <- glmer (Baci ~ fDiet + Crossover + (1|fID:Crossover) + (1|obs),
             family = poisson, data=qPCR)



Andre
On Tue, Apr 26, 2016 at 2:36 PM, jim holtman <jholtman at gmail.com> wrote: