insights-engineering-bot
released this
24 Sep 05:36
·
25 commits
to main
since this release
Enhancements
- Added
errorbar_width
andlinetype
parameters tog_lineplot
. - Added the
.formats
argument totabulate_rsp_subgroups
andtabulate_survival_subgroups
to allow users to specify formats. - Added the
riskdiff
argument totabulate_rsp_subgroups
andtabulate_survival_subgroups
to allow users to add a risk difference table column, and functioncontrol_riskdiff
to specify settings for the risk difference column. - Added warning to
tabulate_rsp_subgroups
whenpval
statistic is selected butdf
has not been correctly generated to add p-values to the output table. - Added
n_rate
statistic as a non-default option toestimate_incidence_rate
which returns both number of events observed and estimated incidence rate. - Added
n_unique
statistic as a non-default option toestimate_incidence_rate
which returns total number of patients with at least one event observed. - Refactored
estimate_incidence_rate
to work as both an analyze function and a summarize function, controlled by the addedsummarize
parameter. Whensummarize = TRUE
, labels can be fine-tuned via the newlabel_fmt
argument to the same function. - Added
fraction
statistic to theanalyze_var_count
method group. - Improved
summarize_glm_count()
documentation and all its associated functions to better describe the results and the functions' purpose.
Bug Fixes
- Added defaults for
d_count_cumulative
parameters as described in the documentation. - Fixed a bug of empty levels on
g_lineplot
x-axis were not shown in either plots. - Fixed a bug in
a_surv_time
that threw an error when split only has"is_event"
. - Fixed disappearing line in
g_lineplot
when using only one group or strata level. - Fixed defaults for formats and labels in
get_formats_from_stats
andget_labels_from_stats
. - Fixed bug for linear scaling factor (
scale
parameter) being applied to response but not to rate inh_glm_count
while all distributions have logarithmic link function. - Fixed bug in
decorate_grob
that did not handle well empty strings orNULL
values for title and footers. - Fixed bug in
g_km
that caused an error when multiple records in the data had estimates at max time. - Fixed issue with wrong wrapping due to different
\n
and vector behavior that did not cope well withsplit_string()
.
Miscellaneous
- Began deprecation of the confusing functions
summary_formats
andsummary_labels
. - Enhanced general descriptions of analyze and summarize functions throughout package documentation.
- Finalized deprecation of the
strata
andcohort_id
arguments tog_lineplot
. - Moved incidence rate helper functions into a separate
h_incidence_rate.R
file.
What's Changed
- Bumps
{rmarkdown}
minimal version by @averissimo in #1247 - Fixes problem with
a_surv_time
with datasets where "is_event" is alwaysTRUE
by @averissimo in #1260 - Update of
g_lineplot
to have line type, error bar width, and avoid empty levels in by @Melkiades in #1261 - Fixing parameters' defaults for
d_count_cumulative
by @Melkiades in #1264 - Fix typo in
has_fraction_in_any_col
example by @edelarua in #1266 - update feature yml by @shajoezhu in #1270
- rework docs
summarize_glm_count
by @Melkiades in #1269 - Fix
get_labels_from_stats
test by @edelarua in #1272 - Workflow propagations by @walkowif in #1275
- add lookup-refs param to rhub workflow by @pawelru in #1277
- Add
riskdiff
argument totabulate_rsp_subgroups
andtabulate_survival_subgroups
by @edelarua in #1276 - fix decorate_grob for empty strings by @Melkiades in #1278
- Fix
g_km
bug when multiple estimates are made at max time by @edelarua in #1280 - Update DESCRIPTION by @pawelru in #1288
- Update DESCRIPTION emmeans to 1.10.4 by @shajoezhu in #1284
- update readme by @pawelru in #1290
- Fix URLs by @edelarua in #1298
- Add warning for missing p-value in
tabulate_rsp_subgroups()
output by @edelarua in #1296 - Add
n_rate
statistic toestimate_incidence_rate()
by @edelarua in #1295 - Improve analyze/summarize function documentation by @edelarua in #1283
- Finalize deprecation of <0.9.4 arguments by @edelarua in #1304
- fix grob wrapping final by @Melkiades in #1305
- Workflow propagations by @walkowif in #1291
- Update DESCRIPTION, upversion formatters minimal version to 0.5.9 by @shajoezhu in #1308
- feat: added "fraction" statistic to the "analyze_var_count" method group by @kpagacz in #1309
- resolve green ci by @shajoezhu in #1293
- Refactor
estimate_incidence_rate
by @edelarua in #1300 - prep for rspm release 0.9.6, [skip vbump] by @shajoezhu in #1311
Full Changelog: v0.9.5...v0.9.6