v0.9.6 cran
Enhancements
- Added
errorbar_widthandlinetypeparameters tog_lineplot. - Added the
.formatsargument totabulate_rsp_subgroupsandtabulate_survival_subgroupsto allow users to specify formats. - Added the
riskdiffargument totabulate_rsp_subgroupsandtabulate_survival_subgroupsto allow users to add a risk difference table column, and functioncontrol_riskdiffto specify settings for the risk difference column. - Added warning to
tabulate_rsp_subgroupswhenpvalstatistic is selected butdfhas not been correctly generated to add p-values to the output table. - Added
n_ratestatistic as a non-default option toestimate_incidence_ratewhich returns both number of events observed and estimated incidence rate. - Added
n_uniquestatistic as a non-default option toestimate_incidence_ratewhich returns total number of patients with at least one event observed. - Refactored
estimate_incidence_rateto work as both an analyze function and a summarize function, controlled by the addedsummarizeparameter. Whensummarize = TRUE, labels can be fine-tuned via the newlabel_fmtargument to the same function. - Added
fractionstatistic to theanalyze_var_countmethod 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_cumulativeparameters as described in the documentation. - Fixed a bug of empty levels on
g_lineplotx-axis were not shown in either plots. - Fixed a bug in
a_surv_timethat threw an error when split only has"is_event". - Fixed disappearing line in
g_lineplotwhen using only one group or strata level. - Fixed defaults for formats and labels in
get_formats_from_statsandget_labels_from_stats. - Fixed bug for linear scaling factor (
scaleparameter) being applied to response but not to rate inh_glm_countwhile all distributions have logarithmic link function. - Fixed bug in
decorate_grobthat did not handle well empty strings orNULLvalues for title and footers. - Fixed bug in
g_kmthat caused an error when multiple records in the data had estimates at max time. - Fixed issue with wrong wrapping due to different
\nand vector behavior that did not cope well withsplit_string().
Miscellaneous
- Began deprecation of the confusing functions
summary_formatsandsummary_labels. - Enhanced general descriptions of analyze and summarize functions throughout package documentation.
- Finalized deprecation of the
strataandcohort_idarguments tog_lineplot. - Moved incidence rate helper functions into a separate
h_incidence_rate.Rfile.
What's Changed
- Bumps
{rmarkdown}minimal version by @averissimo in #1247 - Fixes problem with
a_surv_timewith datasets where "is_event" is alwaysTRUEby @averissimo in #1260 - Update of
g_lineplotto have line type, error bar width, and avoid empty levels in by @Melkiades in #1261 - Fixing parameters' defaults for
d_count_cumulativeby @Melkiades in #1264 - Fix typo in
has_fraction_in_any_colexample by @edelarua in #1266 - update feature yml by @shajoezhu in #1270
- rework docs
summarize_glm_countby @Melkiades in #1269 - Fix
get_labels_from_statstest by @edelarua in #1272 - Workflow propagations by @walkowif in #1275
- add lookup-refs param to rhub workflow by @pawelru in #1277
- Add
riskdiffargument totabulate_rsp_subgroupsandtabulate_survival_subgroupsby @edelarua in #1276 - fix decorate_grob for empty strings by @Melkiades in #1278
- Fix
g_kmbug 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_ratestatistic 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_rateby @edelarua in #1300 - prep for rspm release 0.9.6, [skip vbump] by @shajoezhu in #1311
Full Changelog: v0.9.5...v0.9.6