v0.9.8.433
Enhancements
- Refactored
count_abnormal(),count_abnormal_by_baseline(),count_abnormal_by_marked(),count_abnormal_by_worst_grade(),count_abnormal_lab_worsen_by_baseline(),count_cumulative(),count_missed_doses(),coxph_pairwise(),estimate_multinomial_rsp(),estimate_proportion(),estimate_proportion_diff(),estimate_odds_ratio(),summarize_ancova(),summarize_glm_count(),summarize_num_patients(),surv_timepoint(), andtest_proportion_diff()to work withoutmake_afun(). - Refactored
afun_riskdiff(),count_occurrences(),count_occurrences_by_grade(),count_patients_with_event(),count_patients_with_flags(),count_values(),estimate_incidence_rate(),h_tab_one_biomarker(),summarize_change(),summarize_colvars(),summarize_patients_exposure_in_cols(),survival_time(),tabulate_rsp_subgroups(),tabulate_survival_subgroups(),tabulate_rsp_biomarkers(), andtabulate_survival_biomarkers()to align with new analysis function style. - Added
geom_sdandgeom_mean_sdtos_summary()as default available statistics. - Added
denomparameter toestimate_proportion(). - Added
weights_emmeansargument tosummarize_ancova().
Bug Fixes
- Fixed bug in
a_count_patients_with_flags()preventing select custom label/indentation formats from being applied. - Fixed bug in
tabulate_rsp_subgroups()andtabulate_survival_subgroups()preventing thepctoption from having an effect when adding a risk difference column. - Fixed bug with the order of
.statswhen adding custom statistical functions. - Fixed bug with multiple custom functions not being represented correctly as a list of output stats.
Miscellaneous
- Began deprecation of the unused
table_namesargument tocount_abnormal_lab_worsen_by_baseline(). - Began deprecation of the unused
h_split_param()function. - Began deprecation of the unused
label_allparameter totabulate_rsp_subgroups(), with redirection to the same parameter inextract_rsp_subgroups(). - Began deprecation of the no longer used helper functions
h_tab_one_biomarker(),h_tab_rsp_one_biomarker(), andh_tab_surv_one_biomarker(). - Updated documentation to remove suggestions to use
make_afun(). - Added warnings for
geom_meanstatistical output. - Moved helper functions
h_tab_rsp_one_biomarker()andh_tab_surv_one_biomarker()intoh_biomarkers_subgroups.R. - Reorganized the utility documentation related to factors (
utils_factor.R) into a single file. - Converted
as_factor_keep_attributes()to an exported function. - Removed internal function
ungroup_stats()and replaced its usage with theget_*_from_stats()functions. - Removed
s_count_nonmissing()as it is a non-repeated small and internal function.
Full Changelog: v0.9.8...v0.9.8.433