v0.9.7 cran
Enhancements
- Added the
denomparameter tos_count_cumulative(),s_count_missed_doses(), ands_count_occurrences_by_grade(). - Added
"N_row"as an optional input todenomins_count_occurrences(). - Added
rel_height_plotparameter tog_lineplot()to control the line plot height relative to annotation table height. - Added
as_listparameter tog_lineplot()to allow users to return the line plot and annotation table elements as a list instead of stacked for more complex customization. - Added vignette "Understanding
ternfunctions" for future reference. - Added to
analyze_vars()statistical names that are used byrtables::as_result_df(). - Added the possibility to integrate custom statistical functions to default ones in
analyze_vars(). - Refactored
analyze_vars()anda_summary()to take all options from?rtables::additional_fun_params. - Refactored
summarize_change()andcount_values()to work withoutmake_afun(). - Refactored
a_count_occurrences_by_grade(),a_count_patients_with_event(), anda_count_patients_with_flags()to no longer usemake_afun(). - Refactored
get_labels_from_stats()to use a named list of levels for each statistic instead of row names. - Updated the
table_font_sizeparameter ofg_lineplot()to control the size of all text in the annotation table, including labels. - Merged
compare_vars()intoanalyze_vars()as overlap was significant.
Bug Fixes
- Fixed bug in
a_summary()causing non-uniquerow_namevalues to occur when multiple statistics are selected for count variables.
Miscellaneous
- Reverted deprecation of quick get functions
summary_formats()andsummary_labels(). Added disclaimer about underlying use ofget_stats. - Corrected handling of extra arguments and
NAforsummarize_change(). - Removed
count_fraction_fixed_dpexception by assigning it to the result ofcount_fractionwith a different format output.
What's Changed
- 1315 var labels odds ratio@main by @ayogasekaram in #1317
- Update NEST site URLs by @edelarua in #1319
- Add
methodargument tos_odds_ratio()andestimate_odds_ratio()by @edelarua in #1320 - Update DESCRIPTION by @shajoezhu in #1321
- Fix bug in
a_summary()causing nonuniquerow_namevalues by @edelarua in #1323 - Pkgdown site improvements by @edelarua in #1328
- List options in
.statsargument descriptions by @edelarua in #1330 - Adds
denomargument to counts_*functions by @edelarua in #1326 - Move nestcolor to imports by @edelarua in #1339
- import nestcolor by @shajoezhu in #1341
- close #1340, rm staged dep by @shajoezhu in #1344
- Add table formatting options to
g_lineplot()- table relative height & font size by @edelarua in #1335 - Refactor
count_patients_with_event()andcount_patients_with_flags()by @edelarua in #1343 - Fix indent modifier bug in
count_patients_with_flags()by @edelarua in #1350 - Refactor
summarize_change()by @Melkiades in #1347 - 1301 feature request add confidence intervals for quantiles in surv time by @iaugusty in #1306
- adding offset to nb by @shajoezhu in #1358
- Test coxph by @shajoezhu in #1365
- Refactoring of
analyze_varswith specifics for .stat_names by @Melkiades in #1361 - Refactor
a_count_values()by @edelarua in #1374 - vbump to 0.9.7, prep for release [skip vbump] by @shajoezhu in #1372
New Contributors
Full Changelog: v0.9.6...v0.9.7