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
When plotting Kaplan-Meier survival estimates or other stepwise estimates, there is an obvious radius applied to the outer corner of the linejoin at each step. This is visually misleading and causes issues with digitisation of the data after publication as the reader is dependent on a clear run-in and run-out of the line to establish the intersection point, as the midpoint of the diagonal across the corner cannot be used. This is not always possible on a "busy" plot with many censor marks, overlapping lines, or low overall resolution.
The ability to use mitre joins would allow for plots where the midpoint of the corner diagonal is a reliable indicator of the event time and resultant survival, allowing for more accurate digitisation of the plot data and reconstruction of the event times.
This information is highly valuable for indirect comparison of treatments, and uncertainty in relative efficacy of indirectly compared therapies is a major cause of reimbursement delay and thus access to treatment. Any improvement to publication standards that can be enabled by this change will have real-world impact on the availability of new treatments.
Reprex below clearly shows the radius on the stepwise function
I think it may just have been a small oversight not to add these to geom_step(), so I'm considering the non-parity with geom_path() a bug rather than a feature request.
When plotting Kaplan-Meier survival estimates or other stepwise estimates, there is an obvious radius applied to the outer corner of the linejoin at each step. This is visually misleading and causes issues with digitisation of the data after publication as the reader is dependent on a clear run-in and run-out of the line to establish the intersection point, as the midpoint of the diagonal across the corner cannot be used. This is not always possible on a "busy" plot with many censor marks, overlapping lines, or low overall resolution.
The ability to use mitre joins would allow for plots where the midpoint of the corner diagonal is a reliable indicator of the event time and resultant survival, allowing for more accurate digitisation of the plot data and reconstruction of the event times.
This information is highly valuable for indirect comparison of treatments, and uncertainty in relative efficacy of indirectly compared therapies is a major cause of reimbursement delay and thus access to treatment. Any improvement to publication standards that can be enabled by this change will have real-world impact on the availability of new treatments.
Reprex below clearly shows the radius on the stepwise function
The text was updated successfully, but these errors were encountered: