New Features and Functions
-
Added S3 methods
add_overall.tbl_hierarchical()
andadd_overall.tbl_hierarchical_count()
. -
Added the
tidy_wald_test(vcov)
argument to allow for the calculation of p-values via alternative variance-covariance structure (e.g. for robust SEs). (#2076; @aghaynes)
Other Updates
-
The
with_gtsummary_theme()
has been updated to no longer print theme names when the applied, nor when the original theme is re-applied. (#2031) -
Updated the
theme_gtsummary_journal("jama")
theme to apply changes totbl_svysummary()
. (#1964; @vjcatharine)
Lifecycle Updates
- Removed
global_pvalue_fun.tidycrr()
, which was previously migrated to the {tidycmprsk} package. (#1997; @jwoolfolk)
Bug Fixes
-
Bug fix for footnote markers when placing a footnote for flextable and gt tables on multiple columns and rows in the table body. (#2062)
-
Fix for setting default formatting functions in
tbl_svysummary()
. Previously, defaults were assigned similarly to those intbl_summary()
, which led to survey-only statistics being assigned sub-optimal defaults. (#2078) -
Bug fix in
add_ci.tbl_svysummary()
for factor variables where order was alphabetical instead of the factor levels. (#2036) -
Addressing encoding issue where
sort()
anddplyr::arrange()
sorted differently, and the order of theby
levels was inconsistent in the resulting table. (#2038) -
Users may now pass a vector of integers to
tbl_hierarchical*(digits)
, as is possible in other summary functions. (#2080)