I want to only have labels every second number, but have the small ticks for every number in my graph. As you can see in the figure I added, the labels are every 2nd tick on the X-axis.
But I want to achieve the result that's on the Y-axis:
With ggplot, this is possible with ggh4x and if_elfse. But I can't find a way how to do this in ggsurvplot. This is my code, for the first picture. The code for the second picture is found here: Code 2
ggsurvplot(fit, data = d, 
            conf.int = F,
            censor = F,
            palette = c("green", "purple", "red"),
            legend.labs = c("Reference water (pH 7.3)\n(N = 66)", 
                            "Acidic al-poor (pH 5.8)\n(N = 66)",
                            "Acidic al-rich (pH 5.8)\n(N = 66)"),
            legend.title = "Water quality",
            xlab = "Days",
            xlim = c(1,23),
            break.time.by = 2
            )
Thank you in advance for yor help.

 
    
