Skip to content

v0.9.0

Compare
Choose a tag to compare
@insights-engineering-bot insights-engineering-bot released this 01 Sep 11:40
· 289 commits to main since this release
95158c9

New Features

  • Added stat_propdiff_ci function to calculate proportion/risk difference and CI.
  • Added risk difference column functionality via the riskdiff argument to functions count_occurrences, count_occurrences_by_grade, count_patients_with_event, count_patients_with_flags, analyze_num_patients, and summarize_num_patients.

Enhancements

  • Refactored the function a_summary to no longer use the helper function create_afun_summary.
  • Refactored functions summarize_vars and compare_vars to use the refactored a_summary function.
  • Created new internal helper functions ungroup_stats to ungroup statistics calculated for factor variables, and a_summary_internal to perform calculations for a_summary.

Bug Fixes

  • Fixed bug in s_count_occurrences_by_grade so that "missing" grade always appears as the final level.
  • Fixed bug in analyze_vars_in_cols when categorical data was used.
  • Fixed bug in s_count_occurrences_by_grade so that levels are not relabeled when reordering to account for "missing" grades.

Miscellaneous

  • Fixed swapped descriptions for the .N_row and .N_col parameters.
  • Removed internal calls to df_explicit_na. Changes in NA values should happen externally to tern functions, depending on users' needs.
  • Reinstated correct soft deprecation for create_afun_summary and create_afun_compare.

What's Changed

Full Changelog: v0.8.5...v0.9.0