You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know you are working on releasing a new version of ggsurvfit to accommodate the recent changes in the survival package and ggplot2. In this regard, I think it would be beneficial to also update the defaults of the ggsurvfit() and ggcuminc() geoms to use the newly implemented "mitre" linejoin for geom_step() instead of the "round" linejoin. The mitre linejoin would allow for more accurate digitisation of the plot data and reconstruction of the event times as described in these GitHubs: tidyverse/ggplot2#5705 tidyverse/ggplot2#5706
The text was updated successfully, but these errors were encountered:
Hi @psoldath , I hadn't read about that update yet. Thanks for letting me know. Can you show a side-by-side comparison of the difference in the appearance of the rendered plot? This will also require updates to the exported step ribbon method as well to match.
Of course, @ddsjoberg
It does not require you to update the geom_ribbon as it already uses sharp corners at steps.
As you can see the mitre linejoin allows for digitization software to find the exact time of events as the midpoint of the diagonal line of each step, whereas the round linejoin curves one of the corners and hereby shortens the diagonal distance, so the midpoint of the diagonal line doesn't reflect the exact time of event.
Hi Daniel
I know you are working on releasing a new version of ggsurvfit to accommodate the recent changes in the survival package and ggplot2. In this regard, I think it would be beneficial to also update the defaults of the ggsurvfit() and ggcuminc() geoms to use the newly implemented "mitre" linejoin for geom_step() instead of the "round" linejoin. The mitre linejoin would allow for more accurate digitisation of the plot data and reconstruction of the event times as described in these GitHubs:
tidyverse/ggplot2#5705
tidyverse/ggplot2#5706
The text was updated successfully, but these errors were encountered: