Coerce a non-Zelig fitted model object to a Zelig class object
Coerce a non-Zelig fitted model object to a Zelig class object
to_zelig(obj)
obj |
a fitted model object fitted using |
Christopher Gandrud and Ista Zhan
library(dplyr) lm.out <- lm(Fertility ~ Education, data = swiss) z.out <- to_zelig(lm.out) # to_zelig called from within setx setx(z.out) %>% sim() %>% plot()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.