Dear list members,

I would like to analyse a multiply imputed data set with zelig,
but I don't know how to do with the last version of the Zelig package.
For instance, the following code, which runs well using a previous version
of the package (4.2.1 for instance), produces an error with the version 5.0.9:

library("Amelia")
data(freetrade)
amelia.out <- amelia(freetrade, m = 15, ts = "year", cs = "country")

is.list(amelia.out$imputations)
#TRUE
is.data.frame(amelia.out$imputations[[1]])
#TRUE

library("Zelig")
zelig.fit <- zelig(tariff ~ pop + gdp.pc + year + polity, data = amelia.out$imputations, model = "ls", cite = FALSE)

#Error: data is not a data frame

Could you give me an example to show me how to use the last version
of Zelig?

Thank you very much for your help,

Best,

--
AUDIGIER Vincent
Applied Mathematic Department, Agrocampus Ouest
65 rue de Saint-Brieuc, 35042 Rennes Cedex, France
Tel: (+33)2 23 48 54 76
Website: http://vincentaudigier.weebly.com/