I am receiving an unusual error message from lme.lmList in the nlme package. The dataset is not huge (1265 observations of 31 groups), and I can send it to others to check if required. The lmList call appears to work OK fm1 <- lmList(equdist ~ year |pest, data) however, when I try fm2 <- lme(fm1) I get Error in names(madRan) <- rNames : attempt to set an attribute on NULL This is a new error (I ran the models successfully a few weeks ago). When I try example(lme.lmList) the error does not appear, so seems to be something to do with my data. Any clues gratefully received. Thanks Dan
Error in lme.lmList (package nlme)
2 messages · Dan Bebber, Ben Bolker
Dan Bebber <dbebber at ...> writes:
I am receiving an unusual error message from lme.lmList in the nlme package. The dataset is not huge (1265 observations of 31 groups), and I can send it to
others to check if required.
The lmList call appears to work OK fm1 <- lmList(equdist ~ year |pest, data) however, when I try fm2 <- lme(fm1) I get Error in names(madRan) <- rNames : attempt to set an attribute on NULL This is a new error (I ran the models successfully a few weeks ago). When I try example(lme.lmList) the error does not appear, so seems to be something to do with my data.
A little hard to say without the data (or a small reproducible example). I'm googlable if you want to send it to me. I think this method probably isn't very widely used so it's conceivable (to me) that there's a bug, but it could be data that are messed up in some way ... ? Ben Bolker