我试着将我的Rmarkdown报告编织成PDF格式,我注意到脚注已经不在了。我错过了什么?
stats_summary_table <-
dat %>%
tbl_summary(by = id,
missing = "no",
digits = list(all_continuous() ~ c(0, 0, 1, 1, 3)),
type = list(all_numeric() ~ "continuous"),
statistic = list(all_continuous() ~
"{min} ~ {max} {mean} ± {sd} [{cv}]")) %>%
modify_footnote(starts_with("stat_") ~ "Range and mean±SD [cv]")发布于 2020-11-10 10:12:40
gt包的PDF输出仍在开发中。您能否确认脚注仅使用gt包即可与PDF输出一起正常工作?这将告诉我们问题出在gt还是gtsummary中。
同时,我建议您使用gtsummary包(gt是缺省的) http://www.danieldsjoberg.com/gtsummary/articles/rmarkdown.html支持的其他打印引擎之一

https://stackoverflow.com/questions/64760909
复制相似问题