[R] Random effects with glm()
Henric Nilsson
henric.nilsson at statisticon.se
Wed Dec 21 10:20:03 CET 2005
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
More information about the R-help
mailing list