How can I increase the number of digits on the exponentiated ORs and it corresponding 95% CI from the default 2 to say 3 digits?
library(gtsummary)
data(trial)
glm(response ~ trt, trial, family = binomial) %>%
tbl_regression(exponentiate = TRUE)
res <- glm(response ~ trt, trial, family = binomial) %>%
tbl_regression(exponentiate = TRUE) %>% style_sigfig( digits = 3)
#Error in abs(x) : non-numeric argument to mathematical function
