Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Risk Ratio Summary #172

Closed
loukasilias opened this issue Nov 1, 2022 · 1 comment
Closed

Risk Ratio Summary #172

loukasilias opened this issue Nov 1, 2022 · 1 comment

Comments

@loukasilias
Copy link

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
Copy link
Owner

pzivich commented Nov 1, 2022

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

@pzivich pzivich closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants