get.gap.kt {bigtcr}R Documentation

Cause-Specific Kendall's tau Estimation

Description

Estimate the modified cause-specific Kendall's tau for the evaluation of association for bivariate gap time with competing risks. See bigtcr-package.

Usage

get.gap.kt(obs.y, event, v, tau = Inf, nbs = 0)

Arguments

obs.y

Y: time to failure events or censoring

event

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

v

Time to the first failure event (e.g. disease recurrence)

tau

Conditioning time \tau under which the CCIF is defined

nbs

Number of bootstrap samples for bootstrap variances. When nbs is smaller than 1, bootstrap variances are not evaluated.

Value

A list of the estimation and variances of modified casue-specific Kendall's tau

Examples


Kt <- get.gap.kt(obs.y=pancancer$obs.y, event=pancancer$min.type,
               v=pancancer$v, tau=120, nbs=5)


[Package bigtcr version 1.1 Index]