permDep

permDep implements permutation approaches to test for quasi-independence in left-truncated right-censored survival data.

Installation

You can install and load permDep from CRAN using

install.packages("permDep")
library(permDep)

You can install permDep from github with:

## install.packages("devtools")
devtools::install_github("stc04003/permDep")

Online documentation

Online document includes a demonstration of the main function, permDep.

References:

  • Chiou, S.H., Qian, J., and Betensky, R.A. (2017). Permutation Test for General Dependent Truncation.
  • Tsai, W.Y., (1990). Testing the Assumption of Independence of Truncation Time and Failure Time. 169–177.