When knitting rmarkdown PDF using as_kable_extra()
and {gtsummary}
, the footnote markers tend to disappear from the header row, any way to retain them on the tables?
Example below:
library(gtsummary)trial %>% select(trt, age, grade)%>% tbl_summary(by = trt)%>% add_p()%>% bold_labels()%>% as_kable_extra() # footnote marker "1" on header at p-value column disappears