I am using ggsurvplot to create a kaplan-meier curve. I get the following warning message "Warning messages: 1: Removed 1 rows containing missing values (geom_text)." I have seen other posts that are similar and have solved the problem when the image is geom_point.
But the proposed solution [Explain ggplot2 warning: "Removed k rows containing missing values" of adding coord_cartesian does not work with ggsurvplot. I know that I can simply expand my y-axis to remove this warning message but i dont want to do that because then you are unable to differentiate when the curves separate.
My code: ggsurvplot(survival.primary, ylim=c(0.0,0.20), xlim=c(0,1500), break.x.by=180, censor = F, risk.table = T, fun = "event")
Thank you very much!