Skip to content

ggsurvfit should use the mitre linejoin for geom_step #207

@psoldath

Description

@psoldath

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions