from_zelig_model: Extract the original fitted model object from a 'zelig'...

View source: R/interface.R

from_zelig_modelR Documentation

Extract the original fitted model object from a zelig estimation

Description

Extract the original fitted model object from a zelig estimation

Usage

from_zelig_model(obj)

Arguments

obj

a zelig object with an estimated model

Details

Extracts the original fitted model object from a zelig estimation. This can be useful for passing output to non-Zelig post-estimation functions and packages such as texreg and stargazer for creating well-formatted presentation document tables.

Author(s)

Christopher Gandrud

Examples

z5 <- zls$new()
z5$zelig(Fertility ~ Education, data = swiss)
from_zelig_model(z5)


IQSS/Zelig documentation built on Dec. 11, 2023, 1:51 a.m.