pzivich / zEpid

Epidemiology analysis package
http://zepid.readthedocs.org
MIT License
141 stars 33 forks source link

Risk Ratio Summary #172

Closed loukasilias closed 2 years ago

loukasilias commented 2 years ago

Hello,

rr = RiskRatio(reference=1)
rr.fit(df, exposure='art', outcome='dead')
rr.summary()

Is it possible to convert the output of rr.summary() into a DataFrame or JSON?

Thank you in advance!

pzivich commented 2 years ago

you can use rr.results to access a dataframe version of the summary output