v0.9.0
insights-engineering-bot
released this
01 Sep 11:40
·
289 commits
to main
since this release
New Features
- Added
stat_propdiff_ci
function to calculate proportion/risk difference and CI. - Added risk difference column functionality via the
riskdiff
argument to functionscount_occurrences
,count_occurrences_by_grade
,count_patients_with_event
,count_patients_with_flags
,analyze_num_patients
, andsummarize_num_patients
.
Enhancements
- Refactored the function
a_summary
to no longer use the helper functioncreate_afun_summary
. - Refactored functions
summarize_vars
andcompare_vars
to use the refactoreda_summary
function. - Created new internal helper functions
ungroup_stats
to ungroup statistics calculated for factor variables, anda_summary_internal
to perform calculations fora_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 inNA
values should happen externally totern
functions, depending on users' needs. - Reinstated correct soft deprecation for
create_afun_summary
andcreate_afun_compare
.
What's Changed
- Add
nested
argument to allanalyze
wrapper functions by @edelarua in #1009 - Correct swapped descriptions of
.N_col
and.N_row
parameters by @edelarua in #1015 - Fix degenerate table warning in
summarize_coxreg
by @edelarua in #1017 - Update default
g_km
y limits by @edelarua in #1021 - Ugly fix for categorical data by @Melkiades in #1014
- update staged deps config by @pawelru in #1022
- Adjust
ylim
defaults ing_km
whenyval = "Failure"
by @edelarua in #1028 - Documentation fix by @Melkiades in #1030
- Removal of internal
df_explicit_na
by @Melkiades in #1023 - Refactor
a_summary
by @edelarua in #983 - Fix alias export for summarize_vars by @Melkiades in #1032
- Workflow propagation by @walkowif in #1035
- Use token in spelling workflow and enable CRAN Status Monitor by @walkowif in #1036
- deprecate_warn instead of stop for create_afun* by @Melkiades in #1034
- Correct ordering of grade levels in
s_count_occurences_by_grade
by @edelarua in #1040 - Add CRAN release template by @walkowif in #1042
- Reorder grade levels without relabelling in
s_count_occurrences_by_grade
by @edelarua in #1044 - Update snapshots by @edelarua in #1046
- update rtables and formatters versions by @ayogasekaram in #1050
- Add Risk Difference column functionality by @edelarua in #1031
- change version to 0.9.0, [skip vbump] by @shajoezhu in #1052
Full Changelog: v0.8.5...v0.9.0