This dongle includes two functions for tidying and plotting AJ estimator survival curves for competing risks.
tidy_ajcomprsk
: Create tidied data tailored for plotting AJ curves.gg_ajsurvplot
andgg_ajsurvplot2
: create AJ cum-haz curve for the event of interest, without and with one competing event. The former supports bothsurvminer::ggsurvplot
andggsurvfit::ggsurvfit
as backend with minimal change to their parameters.
Trinh Dong, 2024