I need to restrict the follow-up time in my survival analysis to five years after diagnosis. However, I'm not sure which function to use.
I'm using the Surv function for the analysis:
coxph(Surv(Time, Event) ~ education, data = data_Cox)
I need to restrict the variable "Time" to a maximum of five years, and after that, the persons need to be censored.