Skip to content

gtsummary 1.2.0 (2019-08-19)

Compare
Choose a tag to compare
@ddsjoberg ddsjoberg released this 19 Aug 15:57
6c01bd8
  • Users can pass variable names in backticks (#212)

  • The group = argument in tbl_summary() has been moved to add_p() (#208)

  • Users can now write custom functions to calculate p-values in add_p() (#194)

  • In tbl_summary() the by = argument accepts a bare variable name instead of the variable name passed as a string (#193)

  • Added support for column, row, and cell percentages in tbl_summary() (#181)

  • Users can now set default p-value formatting functions, regression coefficient formatting functions, default level for confidence intervals, and formatting functions in tbl_survival() (#120)

  • The {gt} package is no longer a required dependency. If {gt} is not installed, tables will be printed with knitr::kable(). The as_kable() function was added to the package as well. (#180)

  • The function as_gt() now has include = and exclude = arguments

  • Updated some function names to be the same as they were in the first version

    bold_p()            <-  tab_style_bold_p()   
    bold_labels()       <-  tab_style_bold_labels()   
    bold_levels()       <-  tab_style_bold_levels()   
    italicize_labels()  <-  tab_style_italicize_labels()   
    italicize_levels()  <-  tab_style_italicize_levels()   
  • Passing named lists in tbl_summary() is now defunct.

  • tbl_stack() fix for tbl_uvregression objects (#175)

  • Option to exclude some variables from testing when using add_p() (#164)

  • Updates after {gt} package renamed cells_style() to cell_text() (#78)