I would like to add a column with the p-value of the proportional hazards assumption test of a Cox regression to a gtsummary table. I don't think this option is available directly with the package. Here is an example using the survival package :
tbl_regression_ex1 <-
coxph(Surv(ttdeath, death) ~ age + marker, trial) %>%
tbl_regression(exponentiate = TRUE)
zph <- coxph(Surv(ttdeath, death) ~ age + marker, trial)
cox.zph(zph, terms = FALSE, global = FALSE)
Thanks in advance