I posted this on SO, got no response. Sorry about cross-posting,
but atleast I would like to know if I am understading something totally 
wrong

I am using a `glmulti` wrapper for glmer (binomial) and the `summary` is:

`This is glmulti 1.0.7, Apr. 2013.
Length  Class   Mode
      0   NULL   NULL`

Following what has been done on this this thread, though this is for `lmer`,
<http://stackoverflow.com/questions/12228418/glmulti-runs-indefinitely-when-using-genetic-algorithm-with-lme4>,
 
I get the same result as above. Could it be that the versions have 
changed since and the wrapping has to be done differently? The following 
is the dummy code (lifted form the link above):

     xd = as.factor(round(runif(30),1))# dummy grouping factor
     yind = runif(30,0,10) # mock dependent variable
     ad = runif(30) # dummy covariate
     bd = runif(30) # another dummy covariate
     cd = runif(30) # an another one
     dd = runif(30)

     tmpdata <- data.frame(xd=xd,yind=yind,ad=ad,bd=bd,cd=cd,dd=dd)

     lmer.glmulti <- function (formula, data, random = "", ...) {
     lmer(paste(deparse(formula), random), data = data, REML=F, ...)
     }

     summary(glmulti(formula = yind~ad*bd*cd*dd,
                     data = tmpdata,
                     random = '+(1|xd)',
                     level = 2,
                     method = 'h',
                     crit = 'aic',
                     marginality = TRUE,
                     fitfunc = lmer.glmulti))

`lme4` version: 1.1.5

`glmulti` version: 1.0.7

"R version 3.0.2 (2013-09-25)"




--
View this message in context: 
http://r.789695.n4.nabble.com/glmulti-wrapper-for-lmer-does-not-produce-results-tp4688463.html
Sent from the R help mailing list archive at Nabble.com.
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to