When making a regression table using {gtsummary},
p-value can be added through add_glance_table(p.value)
:
library(gtsumary)
trial %>%
na.exclude() %>%
lm(ttdeath ~ age + marker + response,.) %>%
tbl_regression() %>%
add_glance_table(p.value)
I would like to add significance star(s) to the p-value in glance table.
I have tried add_significance_stars()
, but it only replaces the original p-values created by tbl_regression()
to the stars.
Is there any way I can put significance stars on p-values in the glance table?
Edit: I would like to apologize my initial question which lacked information and clarity. Edited for more information.