powered by
Extracts the cumulative incidence estimates from a cuminc object for the cause of interest at a specified time point into a data.frame.
cuminc
data.frame
pred.ci(cum, tm1, failcode = 1)
A data.frame with 3 columns:
The group name. If the group argument was used in the cuminc fit, there will be one row per group. Otherwise this is non-informative.
group
The cumulative incidence probability at the desired time point
The estimated variance of the cumulative incidence estimate
A cuminc object
A single time point to return the cumulative incidence at
The value of the status column that indicates the event of interest
Michael W. Kattan, Ph.D. and Changhong Yu. Department of Quantitative Health Sciences, Cleveland Clinic
cum <- cmprsk::cuminc(prostate.dat$TIME_EVENT, prostate.dat$EVENT_DOD, cencode = 0) pred.ci(cum, 60, failcode = 1)
Run the code above in your browser using DataLab