Learn R Programming

tranSurv (version 1.2.0)

wKendall: Weighted conditional Kendall's tau

Description

This is a temporary function, could be merged into the main function condKendall. Give conditional Kendall's tau with the ability to take on perturbation weights.

Usage

wKendall(trun, obs, delta = NULL, weights = NULL)

Arguments

trun

left truncation time satisfying trun <= obs.

obs

observed failure time, must be the same length as trun, might be right-censored.

delta

an optional 0-1 vector of censoring indicator (0 = censored, 1 = event) for obs. If this vector is not specified, condKendall assumes no censoring and all observed failure time denote events.

weights

perturbation weights.