Re: [R] Random effects with glm()

From: Henric Nilsson <henric.nilsson_at_statisticon.se>
Date: Wed 21 Dec 2005 - 20:20:03 EST

On Ti, 2005-12-20, 13:09, Juan Pablo Sánchez skrev:

> [...]
> Thus my question is: Do exit same option in the glm() function to allow
> for random effects?, similar to the random option in lme()

No, you can't fit GLMMs with the `glm' function. Instead, take a look at e.g. the `glmmML', `lmer' and `glmmPQL' functions in the glmmML, Matrix and MASS packages respectively.

HTH,
Henric



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 21 20:29:24 2005

This archive was generated by hypermail 2.1.8 : Wed 21 Dec 2005 - 23:48:31 EST