Hi,
I wrote yesterday about an error message I'm getting when I use GLMM from
lme4 to do random effects modelling.
(I wanted to note that I've only just started to learn about random effects
modelling and R, so am a novice at both, but R/lme4 have been great up to this
hiccup)
I was asked to provide a reproducable example, so here is my try, using the
guImmun data frame included with the package:
library(lme4)
data(guImmun)
fm1 = GLMM(immun ~ kid2p + mom25p + momWork,
data = guImmun, family = binomial,
random = ~1|mom)
fm2 = GLMM(immun ~ kid2p + mom25p + momWork,
data = guImmun, family = binomial,
random = ~kid2p|mom)
**
fm1 produces output, and fm2 gives me the following error message:
Error in "EMsteps<-"(`*tmp*`, value = control) :
invalid source matrix
I'm using R 1.8.1
thanks for any feedback,
Matt
[[alternative HTML version deleted]]