[R] GLMM error in ..1?

Deepayan Sarkar deepayan at stat.wisc.edu
Sat May 29 04:40:20 CEST 2004


Is this the new experimental lme4 (version 0.6-x) ? If so, this is due 
to an error in our use of method dispatch. It has been fixed in the 
development version, and there should be a new release in a few days.


On Friday 28 May 2004 19:32, Spencer Graves wrote:
>       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"




More information about the R-help mailing list