Learn R Programming

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, \ldots J\): type of failure events

tau

Conditioning time \(\tau\) under which the CCIF is defined

Value

A matrix with class ccif that has \(J\) columns. Columns 1 to \(J\) correspond to \(G_1(t)\) to \(G_J(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