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

Excluding Plot of estimate, only including confidence interval #41

Open
la-mendicino opened this issue Aug 10, 2022 · 0 comments
Open

Comments

@la-mendicino
Copy link

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

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

1 participant