I would like to have an overall column in this stratified table. Is it possible using tbl_strata oder do I need to make two tables and merge them?
trial |>
select(age, grade, stage, trt) |>
mutate(grade = paste("Grade", grade)) |>
tbl_strata(
strata = grade,
.tbl_fun =
~ .x |>
tbl_summary(by = trt, missing = "no"),
.header = "**{strata}**, N = {n}"
)
