Skip to content

v0.9.7 cran

Latest
Compare
Choose a tag to compare
@insights-engineering-bot insights-engineering-bot released this 17 Jan 08:40
· 1 commit to main since this release
51c87f1

Enhancements

  • Added the denom parameter to s_count_cumulative(), s_count_missed_doses(), and s_count_occurrences_by_grade().
  • Added "N_row" as an optional input to denom in s_count_occurrences().
  • Added rel_height_plot parameter to g_lineplot() to control the line plot height relative to annotation table height.
  • Added as_list parameter to g_lineplot() to allow users to return the line plot and annotation table elements as a list instead of stacked for more complex customization.
  • Added vignette "Understanding tern functions" for future reference.
  • Added to analyze_vars() statistical names that are used by rtables::as_result_df().
  • Added the possibility to integrate custom statistical functions to default ones in analyze_vars().
  • Refactored analyze_vars() and a_summary() to take all options from ?rtables::additional_fun_params.
  • Refactored summarize_change() and count_values() to work without make_afun().
  • Refactored a_count_occurrences_by_grade(), a_count_patients_with_event(), and a_count_patients_with_flags() to no longer use make_afun().
  • Refactored get_labels_from_stats() to use a named list of levels for each statistic instead of row names.
  • Updated the table_font_size parameter of g_lineplot() to control the size of all text in the annotation table, including labels.
  • Merged compare_vars() into analyze_vars() as overlap was significant.

Bug Fixes

  • Fixed bug in a_summary() causing non-unique row_name values to occur when multiple statistics are selected for count variables.

Miscellaneous

  • Reverted deprecation of quick get functions summary_formats() and summary_labels(). Added disclaimer about underlying use of get_stats.
  • Corrected handling of extra arguments and NA for summarize_change().
  • Removed count_fraction_fixed_dp exception by assigning it to the result of count_fraction with a different format output.

What's Changed

New Contributors

Full Changelog: v0.9.6...v0.9.7