|
1 | 1 | # gtsummary (development version)
|
2 | 2 |
|
3 |
| -* Fixed a bug in `tbl_hierarchical()` where the `group*` variables of the resulting `table_body` were not fully populated. (#2192) |
| 3 | +### New Features and Functions |
4 | 4 |
|
5 | 5 | * Added function `modify_post_fmt_fun()` to perform formatting on cells after the primary formatting function has been applied. The functionality is similar to `gt::text_transform()`. (#2014)
|
6 | 6 |
|
7 | 7 | * Data pre-processing has now been re-introduced for calculations in `add_p()` and `add_difference()`. Data pre-processing steps were removed in the v2.0 release; however, in some cases---particularly `add_difference()` for dichotomous variables---the reduced functionality was affecting the user experience. See `?tests` for details on data pre-processing. (#2165)
|
8 | 8 |
|
9 |
| -* The `add_variable_group_header()` function has been generalized to work with gtsummary tables, where previously only `'tbl_summary'` were accepted. (#2197) |
| 9 | +* The `add_variable_group_header()` function has been generalized to work with any gtsummary table, where previously only `'tbl_summary'` were accepted. (#2197) |
10 | 10 |
|
11 | 11 | * The footnote placed on the p-value column by `add_significance_stars()` no longer replaces any existing footnote. Rather the footnote is added to any existing footnote. (#2184)
|
12 | 12 |
|
13 |
| -* Fixed bug in `tbl_cross()` when a column was named `'missing'`. (#2182) |
| 13 | +* The `remove_*()` family of functions default argument values have been updated to remove _all_ footnotes, source notes, abbreviations, column merging, bold and italic styling by default, so the users are not longer required to remove, for example, one source note at a time. The one exception is `remove_spanning_headers()`, which will remove the first level spanning headers be default. (#2161) |
14 | 14 |
|
15 |
| -* Corrected bug causing an error in `tbl_hierarchical()` when more than one `by` variable level had been filtered out of the data. (#2173) |
| 15 | +* Added a new theme element `tbl_svysummary-arg:missing_stat` |
16 | 16 |
|
17 |
| -* The `remove_*()` family of functions default argument values have been updated to remove _all_ footnotes, source notes, abbreviations, column merging, bold and italic styling by default, so the users are not longer required to remove, for example, one source note at a time. The one exception is `remove_spanning_headers()`, which will remove the first level spanning headers be default. (#2161) |
| 17 | +* Added functions `sort_hierarchical()` and `filter_hierarchical()` to sort and filter hierarchical tables. (#2096) |
| 18 | + |
| 19 | +### Bug Fixes |
18 | 20 |
|
19 |
| -* The `tbl_strata_nested_stack(quiet)` argument documentation was updated. (#2164) |
| 21 | +* Fixed a bug in `tbl_hierarchical()` where the `group*` variables of the resulting `table_body` were not fully populated. (#2192) |
| 22 | + |
| 23 | +* Corrected bug causing an error in `tbl_hierarchical()` when more than one `by` variable level had been filtered out of the data. (#2173) |
20 | 24 |
|
21 | 25 | * Corrected the class of objects returned from `tbl_strata_nested_stack()`.
|
22 | 26 |
|
23 |
| -* Corrected bug in `tbl_strata_nested_stack()` when the strata variable had a single level. Pervasively, the indentation of the single strata level was not correct. |
| 27 | +* Corrected bug in `tbl_strata_nested_stack()` when the strata variable had a single level. Previously, the indentation of the single strata level was not correct. |
24 | 28 |
|
25 |
| -* Fix in theme element `tbl_summary-arg:missing_stat` that was not being applied. (#2176) |
| 29 | +* Fix in `tbl_strata_nested_stack()` when there are unobserved combinations of strata levels. (#2179) |
26 | 30 |
|
27 |
| -* Added a new theme element `tbl_svysummary-arg:missing_stat` |
| 31 | +* Fixed bug in `tbl_cross()` when a column was named `'missing'`. (#2182) |
| 32 | + |
| 33 | +* Fix in theme element `tbl_summary-arg:missing_stat` that was not being applied. (#2176) |
28 | 34 |
|
29 | 35 | * Corrected bug in `tbl_likert()` where variables in table always appeared in alphabetical order. (#2195)
|
30 | 36 |
|
31 | 37 | * Corrected bug in `add_n.tbl_likert()` where the Ns were not formatted with `style_number()`. (#2195)
|
32 | 38 |
|
33 |
| -* Fix in `tbl_strata_nested_stack()` when there are unobserved combinations of strata levels. (#2179) |
34 |
| - |
35 |
| -* Added functions `sort_hierarchical()` and `filter_hierarchical()` to sort and filter hierarchical tables. (#2096) |
36 |
| - |
37 | 39 | # gtsummary 2.1.0
|
38 | 40 |
|
39 | 41 | ### New Features and Functions
|
|
0 commit comments