is it possible to add a custom table into survminer::ggsurvplot()

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.

image

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()
  ) 

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.