v0.9.1
insights-engineering-bot
released this
04 Oct 18:55
·
283 commits
to main
since this release
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
andtern_default_labels
, respectively. - Added function
get_stats
to return methods from given statistical method groups. - Added function
get_formats_from_stats
to return formats andget_labels_from_stats
to return labels for a given set of statistics. - Added
"auto"
option for.formats
. It usesformat_auto
to determine automatically the number of digits. - Added
title
argument toh_grob_tbl_at_risk
andannot_at_risk_title
argument tog_km
andh_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 theimp_rule
argument, and allow user to specify cell alignment via the.aligns
argument. - Updated
add_rowcounts
to allow addition of row counts fromalt_counts_df
using thealt_counts
argument. - Added
gp
argument tog_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()
anda_summary()
as aS3
method. - Renamed statistical method for
p-value
in the discrete case topval_counts
. - Removed
a_summary_internal()
in favor of only one maina_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