Learn R Programming

QHScrnomo (version 3.0.2)

pred.ci: Extract Cumulative Incidence Estimates at a Specified Time Point

Description

Extracts the cumulative incidence estimates from a cuminc object for the cause of interest at a specified time point into a data.frame.

Usage

pred.ci(cum, tm1, failcode = 1)

Value

A data.frame with 3 columns:

Group

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.

CI.Prob

The cumulative incidence probability at the desired time point

CI.Var

The estimated variance of the cumulative incidence estimate

Arguments

cum

A cuminc object

tm1

A single time point to return the cumulative incidence at

failcode

The value of the status column that indicates the event of interest

Author

Michael W. Kattan, Ph.D. and Changhong Yu.
Department of Quantitative Health Sciences, Cleveland Clinic

See Also

cuminc

Examples

Run this code
 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