I am working on time dependent cox regression and I want to convertt my data (time) to t1 t2 form (counting process form)
Is there a code in R to do this? or should