[R] GLMM error in ..1?

About this list Date view Thread view Subject view Author view Attachment view

From: Spencer Graves (spencer.graves@pdf.com)
Date: Sat 29 May 2004 - 10:32:53 EST


Message-id: <40B7DA35.4000505@pdf.com>


      I'm trying to use GLMM in library(lme4), R 1.9.0pat, updated just
now. I get an error message I can't decipher:

library(lme4)
set.seed(1)
n <- 10
N <- 1000
DF <- data.frame(yield=rbinom(n, N, .99)/N, nest=1:n)
fit <- GLMM(yield~1, random=~1|nest, family=binomial, data=DF,
              weights=rep(N, n))

Error in eval(expr, envir, enclos) : ..1 used in an incorrect context,
no ... to look in

      Is there something I can do to get past this short of working
through the code for GLMM line by line?

      Also, I gather GLMM does not currently accept
binomial(link="cloglog"):

> fit <- GLMM(1-yield~1, random=~1|nest, family=binomial(link="cloglog"),
+ data=DF,weights=rep(N, n))
Error in getClass(thisClass) : "family" is not a defined class
Error in GLMM(1 - yield ~ 1, random = ~1 | nest, family = binomial(link
= "cloglog"), :
    S language method selection got an error when called from internal
dispatch for function "GLMM"
>

      Thanks,
      spencer graves

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:14 EST