Skip to content

Update example #1 readme #74

Description

@LSYS

Example with customization #1 is outdated:

importforestplotasfpdf=fp.load_data("sleep")
fp.forestplot(df, # the dataframe with results dataestimate="r", # col containing estimated effect size moerror="moerror", # columns containing conf. int. margin of errorvarlabel="label", # column containing variable labelcapitalize="capitalize", # Capitalize labelsgroupvar="group", # Add variable groupings # group orderinggroup_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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions