50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

bigtcr (version 1.1)

get.ccif: Conditional Cumulative Incidence Function (CCIF) Estimation

Description

Estimate the conditional cumulative incidence function. See bigtcr-package.

Usage

get.ccif(obs.y, event, tau = Inf)

Arguments

obs.y

Y: time to failure events or censoring

event

0: censored; 1,J: type of failure events

tau

Conditioning time τ under which the CCIF is defined

Value

A matrix with class ccif that has J columns. Columns 1 to J correspond to G1(t) to GJ(t). Each row represents a distinct observed time point t and the row name contains the value of t.

Examples

Run this code
# NOT RUN {
Gj <- get.ccif(obs.y = pancancer$obs.y, event = pancancer$min.type, tau   = 120);

# }

Run the code above in your browser using DataLab