Compute jackknife pseudo-observations of the cause-specific cumulative incidence for competing risks
Source:R/jackknife-cuminc.R
leaveOneOut.competing.risks2.Rd
Compute jackknife pseudo-observations of the cause-specific cumulative incidence for competing risks
Arguments
- object
A survfit object, with competing events
- times
Times at which the cumulative incidence is computed, must be length 1
- cause
Value indicating for which cause the cumulative incidence is to be computed, it must match one of the values available in object (see example)
- mr
Model response, the result of a call to Surv, or a matrix with two columns: "time" (observed follow up time) and "status" (0 = censored, 1, ..., k = event types)