From my survival analyses, I get a survival curve showing a very large number of censures between 4000 and 4500 days, and then a considerable drop due to the decrease in numbers (mostly drop outs).
You can see that very few participants are present after 5000 days. Is it normal to set an end date for the analysis (e.g. at day 4500)? How can I implement this in my R function?
library(survival) survfit(Surv(event_days, event) ~ sex, data = data)
Visually, I can just shorten the survival curve using
xlim = c(0,4500).