Skip to content

gtsummary 2.0.4

Latest
Compare
Choose a tag to compare
@ddsjoberg ddsjoberg released this 30 Nov 19:57

New Features and Functions

  • Added S3 methods add_overall.tbl_hierarchical() and add_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 to tbl_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 in tbl_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() and dplyr::arrange() sorted differently, and the order of the by 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)