library(gtsummary)
trial |>
tbl_strata(
strata = c(trt, grade),
~tbl_wide_summary(.x, include = c(age, marker)), .combine_with = "tbl_stack"
)
#> Error in `tbl_strata()`:
#> ! The `quiet` argument must be a scalar with class <logical>, not NULL.
trial |>
tbl_strata(
strata = c(trt, grade),
~tbl_wide_summary(.x, include = c(age, marker)), .combine_with = "tbl_stack",
.quiet = FALSE
)
#> Warning: The `.quiet` argument of `tbl_strata()` is deprecated as of gtsummary 2.0.0.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
Created on 2024-06-21 with reprex v2.1.0
Btw the style insertion from reprex seems to be broken, is there a fix to that? or maybe a trick with an export?