wKendall: Weighted conditional Kendall's tau

Description Usage Arguments

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

1
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.


stc04003/tranSurv documentation built on June 6, 2019, 4:24 p.m.