Re: [R] GLMM error in ..1?

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

From: Deepayan Sarkar (deepayan@stat.wisc.edu)
Date: Sat 29 May 2004 - 12:40:20 EST


Message-id: <200405282140.21024.deepayan@stat.wisc.edu>


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"

______________________________________________
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