R code used in the paper: Young JG, Stensrud MJ, Tchetgen Tchetgen EJ, Hernán MA. A causal framework for classical statistical estimands in failure time settings with competing events. Statistics in Medicine 2020 https://onlinelibrary.wiley.com/doi/abs/10.1002/sim.8471
The data can be downloaded from http://biostat.mc.vanderbilt.edu/wiki/Main/DataSets