Hi Fabrizio,
Yes, this is because of the new version of "lme4" you have installed.
Current version of Zelig is tested against "lme4" version 0.99875-9.
Thanks,
Ferdi
Fabrizio Gilardi wrote:
Hi,
I'm using Zelig 3.3-1 in R 2.7.1 for Mac (OS 10.5.4), and there seems
to be a problem with mixed-effects models. This is the output I get
when I run the examples given in the Zelig manual for logit.mixed and
ls.mixed:
library(Zelig)
data(voteincome)
z.out1 <- zelig(vote ~ education + age + female + tag(1 | state),
data=voteincome, model="logit.mixed")
Error in checkSlotAssignment(object, name, value) :
"terms" is not a slot in class "mer"
z.out1 <- zelig(income ~ education + age + female + tag(1 | state),
data=voteincome, model = "ls.mixed")
Error in checkSlotAssignment(object, name, value) :
"terms" is not a slot in class "mer"
Is this possibly linked to the recent update of the lme4 package? I
have installed the latest version, namely 0.999375-20.
Thanks a lot,
Fabrizio
---------------------------------------------------------
Fabrizio Gilardi
Weatherhead Center for International Affairs
Harvard University
1737 Cambridge Street
Cambridge, MA 02138 (USA)
Phone +1 617 495 1467
Fax +1 617 495 8292
fgilardi(a)wcfia.harvard.edu
www.fabriziogilardi.org
---------------------------------------------------------
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options: