[R-sig-ME] Passing lme4 optimizer arguments to pbmodcomp and afex/mixed

Tom Wenseleers Tom.Wenseleers at bio.kuleuven.be
Wed Sep 25 15:13:30 CEST 2013


Dear all,
Just  a quick question re pbmodcomp (I'm using version 0.4-0 of pbkrtest, and latest devel version of lme4). I am calling pbmodcomp via afex, but I am getting the dreaded error "3 nodes produced errors; first error: pwrssUpdate did not converge in 30 iterations" (my call is mixed(ALATES~ANT_TENDED*MELEZITOSE+NR_START+(1|CLONES)+(1|PLANT)+(1|REPLICATE),type=3,family=poisson,method="PB",args.test = list(nsim = 10,cl=cl),data=data_alates) ). 

I would now like to try passing some optimizer arguments to the lmer calls. To do this I first called
options(glmerControl=list(optimizer = c("bobyqa", "bobyqa"),tolPwrss = 1e-03 ,optCtrl=list(maxfun=1000)))
But then I still get " pwrssUpdate did not converge in 30 iterations". Does one of you happen to know how I could perhaps change the nr of maximum iterations to >30? And also if it is possible to pass such arguments in the call to mixed and/or pbmodcomp?

Cheers,
Tom


_______________________________________________________________________________________
 
Prof. Tom Wenseleers
P      Lab. of Socioecology and Social Evolution
           Dept. of Biology
           Zoological Institute
           K.U.Leuven
           Naamsestraat 59, box 2466
           B-3000 Leuven
           Belgium 
  +32 (0)16 32 39 64 / +32 (0)472 40 45 96
//tom.wenseleers at bio.kuleuven.be
http://bio.kuleuven.be/ento/wenseleers/twenseleers.htm



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