Re: [R] lmer function.

From: Douglas Bates <>
Date: Mon, 31 Mar 2008 08:27:52 -0500

On Mon, Mar 31, 2008 at 7:13 AM, Boikanyo Makubate <> wrote:
> I am using the lmer function from the lme4 package. I wrote the
> following statement, specifying the method to be adaptive Gaussian
> quadrature. I am getting an error saying "method = "AGQ" not yet
> implemented for supernodal representation". Please help.
> > fit <-
> lmer(response~beta1+(1|patient),family=binomial,method="AGQ",data=data.2)

As the message indicates, the AGQ method has not yet been implemented.

It is very tricky to implement the AGQ method. For one thing it would be infeasible for more than one grouping factor for the random effects if these were non-nested. The Laplacian method is the default method in the development version of the lme4 package, available as

install.packages("lme4", repos = "") mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 31 Mar 2008 - 13:57:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 31 Mar 2008 - 14:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive