Quantcast
Channel: Active questions tagged kable - Stack Overflow
Viewing all articles
Browse latest Browse all 105

Gtsummary: Footnote markers/numbers on header disappear when using as_kable_extra()

$
0
0

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

Output in Rmarkdown


Viewing all articles
Browse latest Browse all 105

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>