v0.7.5
insights-engineering-bot
released this
13 Oct 00:02
·
966 commits
to main
since this release
New features
- Added functions to estimate continuous biomarker effects across multiple subgroups for survival and binary response endpoints, which can be used to produce corresponding forest plots, see
survival_biomarkers_subgroups
andresponse_biomarkers_subgroups
. - Added
g_lineplot
plot function, including newh_format_row
helper function andcontrol_lineplot_vars
function. Removedg_summary_by
. - Added new safety helper function
h_stack_by_baskets
to stack events in SMQ and/or CQ basket flag in ADAE data set.
Enhancements
- Added a couple of new statistics to
s_summary.numeric
. Addednames
attribute to each element of the final list returned by thes_summary.numeric
function. Addedsummary_formats
andsummary_labels
helper functions. - Added option to also convert logical variables to factor variables in
df_explicit_na
. - Refactored
h_append_grade_groups
to improve its flexibility, robustness and clearness as well as to make sure the result is ordered according to the order ofgrade_groups
. Also, addedremove_single
argument which controls whether the elements of one-element grade groups will be kept in the output or removed. - Added
var_labels
andshow_labels
arguments tocount_occurrences
andcount_patients_with_flags
to allow for creation of a title row. - Added
na_level
argument tocount_abnormal_by_baseline
.
Bug Fixes
- Fixed
prop_diff_cmh
to handle edge case of no FALSE (or TRUE) responses. - Enhanced
g_mmrm_diagnostic
to improve error handling when data is not amenable to the Locally Weighted Scatterplot Smoothing. - Several fixes in
g_km
:- Plot can now display any combination of the annotation tables for number of patients at risk, median survival time, and CoxPH summary.
- Function will return a warning instead of an error if the
arm
variable includes only one level andannot_coxph = TRUE
. - Lines in the plot now start correctly at time 0 and probability 1.
- The equals sign can now be used in category labels.
Miscellaneous
- Fixed
day2month
andmonth2day
to work with NA data. - Parametrized
stat_mean_ci
andstat_median_ci
so that they may return different outputs. - Added functionality in
h_row_counts
to handle analysis rows withNULL
cells. - Updated
LICENCE
andREADME
with new package references. - Added
error_on_lint: TRUE
to.lintr
.