kogalur / randomForestSRC

DOCUMENTATION:
https://www.randomforestsrc.org/
GNU General Public License v3.0
113 stars 18 forks source link

c-index calculation for survival random forest with competing risk #394

Open FatemehMasaebi opened 8 months ago

FatemehMasaebi commented 8 months ago

Hello 1697097775764blob

I am writing to request your expertise in C language. Regarding Random ForestSRC package, I have a question regarding the use of indexes in C code. I understand that in C, indexes typically start at zero. However, while reviewing the code of your your package, I noticed that some indexes start at one. Could you please explain the reasoning behind this ? Thank you for your time.