[R] Error: cannot use PQL when using lmer

From: <hpdutra_at_yahoo.com>
Date: Sat, 05 Jul 2008 18:44:18 -0700

> library(MASS)
> attach(bacteria)
> table(y)
y
  n y
 43 177
> y<-1*(y=="y")
> table(y,trt)

   trt
y placebo drug drug+

  0      12   18    13
  1      84   44    49

> library(lme4)
> model1<-lmer(y~trt+(week|ID),family=binomial,method="PQL")
Error in match.arg(method, c("Laplace", "AGQ")) :   'arg' should be one of “Laplace”, “AGQ”

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 06 Jul 2008 - 01:51:26 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 Sun 06 Jul 2008 - 02:31:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive