Computes the concordance index (C-index) for a competing risks setting.
Arguments
- time
A numeric vector of observed survival times (must be positive).
- status
An integer vector indicating event status:
0 = censored
1 = cause 1 event
2 = cause 2 event
- predicted
A numeric vector of predicted event probabilities corresponding to
Cause_int
.- Cause_int
An integer specifying which cause of failure (1 or 2) to evaluate the concordance index for.