I am working on the kaplan meier plot and would like to know if it is possible to attach a custom table to the plot. similar to the one highlighted below.
I see that by default, if i select the risk.table = TRUE, then i get the below table but i want the one like above, which i customized but i want to know how to pass it
survminer::ggsurvplot(km1, data = adae2, risk.table = TRUE,
legend='none',
title=paste0('SOC: ', {{aesoc}}),
legend.labs = c("Placebo", "Xanomeline High Dose", 'Xanomeline Low Dose'),
ggtheme=theme_classic(),
tables.theme=theme_classic()
)