Open spiralparagon opened 2 weeks ago
We're not doing anything to detect the width of the at risk numbers being reported. We just ensure the axis lines up. You can use ggplot functions (or scale_ggsurvfit()
) to change the padding of the x axis scale or decrease the font size.
Hi! I'm noticing a bug in the risktable, if the number at risk is more than 4 numbers, it seems the first number is being truncated somehow. Compare the following curves from ggsurvplot to ggsurvfit:
It's solveable using the size parameter to add_risktable, but I'm curious if this isn't a bug in relation to how to autodetermine size in relation to being forced in alignment the survival plot. I am using scale_ggsurvfit() in the call.