I create my table to make an analysis cox survival time-dependant (with t start and t stop for each ID)
my variable dependant is death and my variable independent is a score
So i look the document R about this type of analysis but when i run the code to have an HR and confidence interval my sample is multiple by 2 ( like they considered all my row as a sample)
I'm wondering if the following code is right to make analysis survival time dependant
coxph(Surv(tStart, tStop, DEATH) ~ score ,
data =df_timedep, cluster = ID)
Do you know if it's ok with this code ?