Changelog
Source:NEWS.md
traumar 1.1.0
CRAN release: 2025-03-25
New Features
- Added optional grouping functionality to
nonlinear_bins()
,rmm()
, andrm_bin_summary()
.- Setting
group_vars = NULL
applies the functions to the entire dataset without subgrouping. - For pivoting the
rmm()
outputs longer, settingpivot = TRUE
will work whengroup_vars
is invoked by pivoting longer with the grouping context.
- Setting
Enhancements
- Improved
NA
handling inrmm()
andrm_bin_summary()
. - Ensured RMM calculations remain within the expected range of [-1 to 1], including their 95% confidence intervals.
- Optimized
nonlinear_bins()
by replacing its internalfor
loop withdplyr
functions, enhancing accuracy and efficiency without introducing breaking changes. - Improved command line messaging and documentation within
rmm()
andrm_bin_summary()
regarding probability of survival valuesPs_col < 0
andPs_col > 1
. Now, these functions will throw an error if probability of survival values arePs_col < 0
orPs_col > 1
. - The
nonlinear_bins()
function has improved data validation for thePs_col
variable.
traumar 1.0.0
CRAN release: 2025-02-21
- Initial release to CRAN.
- Achieved comprehensive test coverage (>90%).
traumar 0.0.1.9000
- Introduced
probability_of_survival()
function. - Expanded outputs for:
- Updated existing tests and added new test cases.
- Began test coverage improvements.