The SurvBin package contains four key functions:
The SurvBin package also provides the function survbinCov that can be used to calculate the covariance between the survival and binary statistics; and the function simsurvbin for simulating bivariate binary and survival data.
More information can be found at: https://martabofillroig.github.io/SurvBin/
This repository also contains the source files of the preprint:
Specifically, in the folder CODE_paper/CaseStudy, there is the source code for reproduce the illustration; and in the folder CODE_paper/Extension_Simulation, there is the code to reproduce the simulation study (see Extension_Simulation subfolder).