Home > Net >  changing colors of box in boxplot in r using finalfit / hr_plot
changing colors of box in boxplot in r using finalfit / hr_plot

Time:05-26

I am using the package "finalfit" to draw boxplot for showing hazard ratio. However, the colors of the box is making it difficult to read the boxplot as my CI ends are near 1. Here is how it looks like. I am focusing on the 5th and 7th row. The size of the box makes it unclear that the upper CI is < 1.

  1. Is there a away to change the color of the box to make it clear ?
  2. Is there more elegant way to show this?

sample_boxplot

Couldn't share my exact data but I replicated the code exactly as this enter image description here

  • Related