does the style_fun parameter allow you to make the change you're looking for? thanks!
library(srvyr)
library(gtsummary)
data(api, package = "survey")
apistrat %>%
as_survey_design(strata = stype, weights = pw) %>%
tbl_svysummary(digits = list(all_categorical() ~ c(0, 2)), by = awards, percent = "column",
include = c(both,stype)) |>
add_stat_label() |>
add_ci(
pattern = "{stat} (95% CI {ci})",
style_fun =
list(
all_continuous() ~ label_style_sigfig(),
all_categorical() ~ label_style_sigfig(scale = 100,digits=4)
)
) |>
add_p()