Skip to content

v0.9.1

Compare
Choose a tag to compare
@insights-engineering-bot insights-engineering-bot released this 04 Oct 18:55
· 261 commits to main since this release
536a69a

New Features

  • Added imputation_rule function to apply imputation rule to data.
  • Added new format function format_sigfig to allow for numeric value formatting by a specified number of significant figures.
  • Added vectors containing default statistic formats and labels as tern_default_formats and tern_default_labels, respectively.
  • Added function get_stats to return methods from given statistical method groups.
  • Added function get_formats_from_stats to return formats and get_labels_from_stats to return labels for a given set of statistics.
  • Added "auto" option for .formats. It uses format_auto to determine automatically the number of digits.
  • Added title argument to h_grob_tbl_at_risk and annot_at_risk_title argument to g_km and h_km_layout which allows user to add "Patients at Risk" title to Kaplan-Meier at risk annotation table.

Enhancements

  • Refactored tabulate_rsp_subgroups to pass sanitation checks by preventing creation of degenerate subtables.
  • Updated analyze_vars_in_cols to use caching, allow implementation of imputation rule via the imp_rule argument, and allow user to specify cell alignment via the .aligns argument.
  • Updated add_rowcounts to allow addition of row counts from alt_counts_df using the alt_counts argument.
  • Added gp argument to g_forest to control graphical parameters such as font size.

Miscellaneous

  • Grouped functions relating to valid method names and their default formats and labels into new source file utils_defaults_handling.R.
  • Started deprecation of summary_custom() and a_summary() as a S3 method.
  • Renamed statistical method for p-value in the discrete case to pval_counts.
  • Removed a_summary_internal() in favor of only one main a_summary().

What's Changed

  • Refactor tabulate_rsp_subgroups to pass sanitation checks by @edelarua in #1056
  • Add helper functions to refactor PKCT01 by @edelarua in #1048
  • Reorganize and group defaults for stats and their default formats/labels -> addition of auto for DMT01 by @Melkiades in #1051
  • Close #1026: Expose gpar to control graphic settings in g_forest. by @anajens in #1057
  • Change to poisson dist to see if it is the glm fit to be unstable by @Melkiades in #1059
  • Add "Patients at Risk" title for g_km at risk annotation table by @edelarua in #1065
  • Fix trailing "." when using format_sigfig, add functionality for multiple values by @edelarua in #1067
  • Fix snapshot differences (it may need muting h_ppmeans()) by @Melkiades in #1072
  • [skip vbump] release v0.9.1 by @Melkiades in #1074

Full Changelog: v0.9.0...v0.9.1