Thank you for your smart and kind answer!! You are meaning that each row becomes a line in CIF graph? What if I want to plot CIF only with lines status=0, status=1. status=2 adjusting with other variables included in the previous question? I'm trying to check the competing risk between certain disease and death. So status=1 means having a disease, and status=2 means death before having a disease. I'm getting confused... So the graph should be looking like below. Can you plz help? 😭 Sorry to bother you but if you don't mind, please also write code for me. Thank you.
... View more