Hi, fairly green R user here and new to the forum.
I have managed to calculate hazard ratios for my variable with three groups (0, 1, 2) using the cmprsk package.
What I'm missing now is the CIF-curve. I can not find a proper tutorial or info for my particular situation and am not fluent enough to figure it out on my own. I have found this link to be helpful to begin with, but it ends just when things begin to be interesting for me.
What I'm dealing with here is fairly simple:
Treatment groups - 0,1,2
Event groups - 0,1,2 (where 0 is no event, 1 event of interest, 2 competing event)
Time - continuous
Possibly a covariate with also multiple groups.
Any ideas what packages to start with and how to deal with the functions in hand?
Thanks in advance