Skip to content

plot_univar doesn't plot the comprisk column #3

Description

@schloerke

the text is WAY to big to make. bokeh says it's a unsatisfiable constraint.

Trim the unique levels? Yell if the levels are big?

plot_univar(cpp, subject = TRUE, width = 250, height = 250)

table(get_subject_data(cpp)$comprisk)
#                                                                                                                                                                                            6 
#                                                                                                                     chronic hypertension + mild gestational hypertension without proteinuria 
#                                                                                                                                                                                            5 
#                                                                                                                                                     chronic hypertension + mild preeclampsia 
#                                                                                                                                                                                           20 
#                                                                                                                                                   chronic hypertension + severe preeclampsia 
#                                                                                                                                                                                            1 
#                                                                                                                                                                    chronic hypertension only 
#                                                                                                                                                                                            4 
#                                                                                                                                                          mild gestational hypertension alone 
#                                                                                                                                                                                           18 
#                                                                                                                                                           mild gestational proteinuria alone 
#                                                                                                                                                                                            4 
#                                                                                                                      mild preeclampsia (mild gestational HTN + mild gestational proteinuria) 
#                                                                                                                                                                                            3 
#                                                                                                                                                                                         none 
#                                                                                                                                                                                          431 
#                                                                                                                                                        severe gestational hypertension alone 
#                                                                                                                                                                                            6 
# severe preeclampsia and eclampsia (severe gestational HTN + any of the following: mild/severe proteinuria, oliguria, pulmonary edema, or convulsion from gestation Wk 24 to postpartum Wk 2) 
#                                                                                                                                                                                            2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions