The journal I am submitting to wants confidence intervals for categorical data. In tbl_summary, they just report the n/N and percentage. I tried to add a confidence interval to that by doing the following:
tbl_summary(statistic = list(all_continuous() ~ "{median} ({p25}, {p75})",
all_categorical() ~ "{n} / {N} ({p}%), ({conf.level*100}% CI {conf.low}, {conf.high})")) %>%
I watched the video on gtsummary and apparently you can add statistics, but I couldn't find where to get the code for a confidence interval.
I guess I was hoping I could just write in {ci}.