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

Update example #1 readme #74

Closed
LSYS opened this issue Apr 30, 2023 · 0 comments · Fixed by #85
Closed

Update example #1 readme #74

LSYS opened this issue Apr 30, 2023 · 0 comments · Fixed by #85
Labels
Next Release To work on for new version release Type: Documentation

Comments

@LSYS
Copy link
Owner

LSYS commented Apr 30, 2023

Example with customization #1 is outdated:

import forestplot as fp

df = fp.load_data("sleep")

fp.forestplot(df,  # the dataframe with results data
              estimate="r",  # col containing estimated effect size 
              moerror="moerror",  # columns containing conf. int. margin of error
              varlabel="label",  # column containing variable label
              capitalize="capitalize",  # Capitalize labels
              groupvar="group",  # Add variable groupings 
              # group ordering
              group_order=["labor factors", "occupation", "age", "health factors", 
                           "family factors", "area of residence", "other factors"],
              sort=True,  # sort in ascending order (sorts within group if group is specified)               
              )

image

@LSYS LSYS added Type: Documentation Next Release To work on for new version release labels Apr 30, 2023
LSYS added a commit that referenced this issue Dec 14, 2023
@LSYS LSYS mentioned this issue Dec 14, 2023
@LSYS LSYS closed this as completed in #85 Dec 14, 2023
LSYS added a commit that referenced this issue Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Next Release To work on for new version release Type: Documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant