[R] GLMM(..., family=binomial(link="cloglog"))?

Deepayan Sarkar deepayan at stat.wisc.edu
Wed Jun 2 01:12:21 CEST 2004


On Tuesday 01 June 2004 17:25, Spencer Graves wrote:
>       I'm having trouble using binomial(link="cloglog") with GLMM in
> lme4, Version: 0.5-2, Date: 2004/03/11.  The example in the Help file
> works fine, even simplified as follows:
>
>       fm0 <- GLMM(immun~1, data=guImmun, family=binomial,
> random=~1|comm)
>
>       However, for another application, I need
> binomial(link="cloglog"),
>
> and this generates an error for me:
>  > fm0. <- GLMM(immun~1, data=guImmun,
>  > family=binomial(link="cloglog"),
>
> random=~1|comm)
> Error in getClass(thisClass) : "family" is not a defined class
> Error in GLMM(immun ~ 1, data = guImmun, family = binomial(link =
> "cloglog"),  :
>         S language method selection got an error when called from
> internal dispatch for function "GLMM"
>
>       Any suggestions?

This should work better in the new lme4 (0.6-x) announced earlier today 
on r-packages. There is still a bug with cases (like in your example) 
with only one fixed effect where the show and summary methods produce 
an error, but that should be fixed soon.

Deepayan




More information about the R-help mailing list