Skip to content

v0.9.3

Compare
Choose a tag to compare
@insights-engineering-bot insights-engineering-bot released this 08 Dec 17:05
· 166 commits to main since this release
dd9f020

New Features

  • Added ref_group_position function to place the reference group facet last, first or at a certain position.
  • Added keep_level_order split function to retain original order of levels in a split.
  • Added level_order split function to reorder manually the levels.
  • Added function get_indents_from_stats to format and return indent modifiers for a given set of statistics.
  • Added internal utility function apply_auto_formatting to check for "auto" formats and replace them with
    implementation of format_auto in analyze functions.
  • Added utility function labels_use_control to modify labels with control specifications.
  • Added list containing default statistics for each method group, tern_default_stats.
  • Added summarize function version of count_occurrences analyze function, summarize_occurrences.
  • Added referential footnotes to surv_time for censored range observations, controlled via the ref_fn_censor parameter.
  • Added helper function h_adlb_abnormal_by_worst_grade to prepare ADLB data to use as input in count_abnormal_by_worst_grade.
  • Added function rtable2gg that converts rtable objects to ggplot objects.
  • Added helper function to set default na_str globally with set_default_na_str() and added default_na_str() for all interested functions.

Enhancements

  • Added ref_group_coxph parameter to g_km to specify the reference group used for pairwise Cox-PH calculations when annot_coxph = TRUE.
  • Added annot_coxph_ref_lbls parameter to g_km to enable printing the reference group in table labels when annot_coxph = TRUE.
  • Added x_lab parameter to g_lineplot to customize x-axis label.
  • Remove 25% padding of y-axis in g_lineplot.
  • Added support for creating multiple risk difference columns, each comparing to a single comparison group. Multiple comparison groups can be specified as a vector via the arm_y argument.
  • Allowed numeric vector as count_by input in analyze_num_patients and summarize_num_patients.
  • Aligned plot and table vertically in g_lineplot.

Bug Fixes

  • Fixed bug in decorate_grob preventing text wrapping from accounting for font size.
  • Fixed implementation of na_str argument in all column-wise analysis and tabulation functions.

Miscellaneous

  • Specified minimal version of package dependencies.
  • Upgraded to_string_matrix to take into account widths and other printing parameters.

What's Changed

New Contributors

Full Changelog: v0.9.2...v0.9.3