Releases: RobinDenz1/adjustedCurves
Releases · RobinDenz1/adjustedCurves
adjustedCurves 0.11.4
Enhancements
- Numbers at risk and number of events are now included in the output of
as_ggsurvplot_df(), even whenmethod = "km"was used. Additionally, with multiple imputation, the correctly pooled values are now included, instead of nothing. - Updated all
ggplot2based functions, so that the weird messages about unused labels no longer appear with newer versions ofggplot2.
Bug Fixes
- Fixed a bug that occurred when using
plot.adjustedsurv()with thetimesargument in case a dataset with multiple imputation was supplied. - Fixed a bug in which the estimates of the cumulative incidence function were incorrectly extracted from the
cuminc()function when usingadjustedcif()withmethod="aalen_johansen". Essentially, the step functions were evaluated at the time before the actual step, so that any results obtained by using the previous versions were off by one time step. With many points in time the changes should be small, but with only a few events there might be substantial differences. - Fixed a bug where survival estimates were returned if
adjustedcif()was used with non-competing risks data andmethod="iptw_pseudo",method="aiptw_pseudo"ormethod="direct_pseudo".
adjustedCurves 0.11.3
New features
- Added the
extend_to_lastargument tomethod="iptw_km"inadjustedsurv(), which allows users to draw the IPTW survival curves up to the last observed point in time per group whether that time was censored or not. Unpublished simulation studies have shown that estimates beyond the last event time are very unstable, which is why in previous versions of this package (<= 0.11.2), this argument did not exist, but was essentially set toFALSE. To get the same results as with old versions, set this argument toFALSE.
Refactor:
- Now uses README.Rmd instead of the regular README.md
- Removed the already deprecated
differenceandratioargument fromadjusted_rmst()andadjusted_rmtl()
Bug Fixes
- The correct way to pool standard errors when using multiple imputation is now also used when using bootstrapping + multiple imputation
- Corrected a typo that lead to the
censoring_modelargument being ignored when usingmethod="aiptw"inadjustedcif(). - When using
risk_table=TRUEwithrisk_table_type="n_events"orrisk_table_type="n_cens", events or censored observations at the same point in time were mistakenly excluded (a<was used internally instead of<=). This has been fixed, potentially leading to different results than earlier with discrete values of time.
adjustedCurves 0.11.2
Bug Fixes
- Fixed a bug that resulted in additional arguments passed by the user through the three-dot (
...) syntax not being correctly evaluated. For example, supplyingestimand="ATT"toadjustedsurv()withmethod="iptw_km"and a formula in thetreatment_modelargument would result in theestimandargument not being passed toweightit(). - Fixed issues that ocurred with
plot.adjustedsurv()when theadjustedsurvobject was created in a function or loop - In previous versions the formula to pool standard errors when using multiple imputation was not implemented correctly. Fixed now, might lead to slightly different results when using multiply imputed data in the new and earlier versions. Many thanks to Dr. Jack M Wolf for finding and fixing this issue.
adjustedCurves 0.11.1
Enhancements
- Re-factored internal code to vastly increase speed of bootstrapping related computations
New features
- Added risk table functionality for plot.adjustedsurv() (all arguments starting with risk_table)
- Allow estimation of difference and ratios in plot_rmst_curve() function
- Allow estimation of difference and ratios in plot_rmtl_curve() function
- Allow estimation of difference and ratios in adjusted_surv_quantile() function
Refactored
- Re-factored examples to only be executed if suggested packages are installed
- Renamed adjsurv and adjcif output objects of adjustedsurv() and adjsutedcif() respectively to adj
- Put functionality of difference and ratio arguments into one contrast argument in adjusted_rmst(), adjusted_rmtl(), adjusted_surv_quantile(), plot_rmst_curve() and plot_rmtl_curve() functions
- Temporarily removed support for tmle in adjustedsurv() and adjustedcif() due to concrete being removed from CRAN
Documentation
- Re-worked introduction vignette
- Added FAQ vignette
- Added Group Comparison vignette
adjustedCurves 0.11.0
- This is an update
adjustedCurves 0.10.1
- This is an update
adjustedCurves 0.10.0
- Removed support for tmle, ostmle methods
- Changed citation information because manuscript was published
- Changed print method to be equal to summary method
- Fixed issues with unit-tests that require packages under "Suggests" only
adjustedCurves 0.9.1
- Include CRAN in installation instructions
- Updated code and tests to run with updated versions of the mice and ggplot2 packages
- Updated documentation of package man page to include features not supported at the moment
adjustedCurves 0.9.0
- This is the first release of this package