Skip to content

Excluding Plot of estimate, only including confidence interval #41

@la-mendicino

Description

@la-mendicino

Hello,

First off, great package, I've made some beautiful visualizations with it, thank you!

Let's say I am plotting the hazard ratios and confidence intervals for 4 variables (A, B, C, D) from a coxph model. A, B, and C are within the range of (0.5, 2), and D is in the range of (0.5, 200,000).

I used the limits argument to limit the x axis, but because the HR for D is much greater than the xmax, it messes up the plot and it is shown in the far right of the panel containing HR, CI, and p-value. The CI shows up fine with an arrow extending towards +infinity. I am wondering if I can exclude the plotting of the HR for variable D, and only include the presentation of the CI. I'd like to do this because when I do not limit the x axis, the visualization is not very interpretable for variables A, B, and C.

Thanks in advance,

Lucas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions