Skip to content
Prev 17970 / 20628 Next

allFit fails after removing object with starting values for model parameters from workspace

Dear Ben and other lmer-experts,

if I extend my setting a little bit, a new/similar problem appears.
For some reasons I would like to change the control structures and
"hardwire" that as in:

lmerCtrl <- lmerControl(optCtrl = list(xtol_abs = 1e-9,
                                        ftol_abs = 1e-9))

theta <- c(1, 0.01, 0.2)
fm <- eval(bquote(
      lmer(Reaction ~ Days + (Days | Subject), data = sleepstudy,
           start = .(theta),
           control = .(lmerCtrl))  # THIS IS NEW.
  ))


Then allFit "goes on strike" again, now complaining about unused
arguments:

allFit(fm, verbose = FALSE)
Error in (function (optimizer = "nloptwrap", restart_edge = TRUE, 
boundary.tol = 1e-05,  :
   unused arguments (checkControl = list("ignore", "stop", "ignore", 
"stop", "stop", "message+drop.cols", "warning", "stop"), checkConv = 
list(list("warning", 0.002, NULL), list("message", 1e-04), 
list("warning", 1e-06)))


Any ideas how to circumvent this?

   Best regards  --  Gerrit

---------------------------------------------------------------------
Dr. Gerrit Eichner                   Mathematical Institute, Room 212
gerrit.eichner at math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
http://www.uni-giessen.de/eichner
---------------------------------------------------------------------

Am 08.08.2019 um 15:41 schrieb Gerrit Eichner: