v0.3.0
·
28 commits
to main
since this release
New Features and Updates
- Added function
ard_tabulate_abnormal()to calculate ARDs for abnormality analyses. (#310) - Adding
strataargument toard_tabulate_max(). (#445, @jtalboys) - Added function
ard_incidence_rate()to calculate ARDs for incidence rate estimation. (#234)
Lifecycle Changes
-
The following functions have been renamed.
ard_continuous()toard_summary()ard_categorical()toard_tabulate()ard_dichotomous()toard_tabulate_value()ard_categorical_max()toard_tabulate_max()
-
Updating any
fmt_fnreferences tofmt_funfor consistency.- Any function with an argument
cardx::foo(fmt_fn)has been updated tocardx::foo(fmt_fun). The old syntax will continue to function, but with a deprecation warning to users. - Importantly, the ARD column named
"fmt_fn"has been updated to"fmt_fun". This change cannot be formally deprecated. For users who were accessing the ARD object directly to modify this column instead of using functions likecards::update_ard_fmt_fun(), this will be a breaking change.
- Any function with an argument
Bug Fixes
- Fix in
ard_survival_survfit.data.frame()method where the stratifying variable was not correctly converted back to its original type. - Fix in
ard_total_n.survey.design()to useupdate()instead ofdplyr::mutate(), which sometimes caused a downstream issue.
What's Changed
- Add
ard_abnormal()for abnormality calculations by @edelarua in #311 - Surface
deffargument and set default toFALSEby @malcolmbarrett in #313 - Core function renames by @ddsjoberg in #315
New Contributors
- @malcolmbarrett made their first contribution in #313
Full Changelog: v0.2.5...v0.3.0