[R] Problem with nlme or glmmPQL (MASS)

kjetil brinchmann halvorsen kjetil at entelnet.bo
Mon Apr 14 06:15:06 CEST 2003


I am encountering the following problem, in a multilevel analysis, 
using glmmPQL from MASS. This occurs with bothj rw1062 and r-devel, 
respectively with nlme versions 3.1-38 and 3.1-39 (windows XP).

>  S817.mod1 <- glmmPQL( S817 ~ MIEMBROScat+S901+S902A+S923+URBRUR+REGION+
+                  YHOGFcat, data=Hogares, random= ~1, 
+                  na.action=na.omit)
iteration 1 
Error in getGroups.data.frame(dataMix, groups) : 
        Invalid formula for groups
> getGroupsFormula(Hogares)

Hogares is a groupedData object. The only non-default thing I have 
done is to use order.groups=FALSE in groupedData, since the response 
is a factor and the max ordering function does not apply. 

What is wring here?

Kjetil Halvorsen

More information about the R-help mailing list