adjustedCurves 0.11.3
CRAN release: 2025-07-13
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
CRAN release: 2024-07-29
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
CRAN release: 2024-04-10
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 withrisk_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
adjsurvandadjcifoutput objects ofadjustedsurv()andadjsutedcif()respectively toadj - Put functionality of
differenceandratioarguments into onecontrastargument inadjusted_rmst(),adjusted_rmtl(),adjusted_surv_quantile(),plot_rmst_curve()andplot_rmtl_curve()functions - Temporarily removed support for
tmleinadjustedsurv()andadjustedcif()due toconcretebeing removed from CRAN
Documentation
- Re-worked introduction vignette
- Added FAQ vignette
- Added Group Comparison vignette
adjustedCurves 0.11.0
CRAN release: 2024-02-13
Enhancements
- Added arguments
iso_regandforce_boundstoadjustedsurv()andadjustedcif()functions to allow applying correction techniques outside plotting as well - Added better support for multiple imputation when
variable,ev_timeoreventcontain missings, includes the newmi_extrapolationargument inadjustedsurv()andadjustedcif() - Added the
ratioargument toadjusted_rmst()andadjusted_rmtl()functions - Added support for multiple
tovalues inadjusted_rmst()andadjusted_rmtl(), which speeds upplot_rmst_curve()andplot_rmtl_curve()considerably
Bug Fixes
- There was a small bug in internal functions used to calculate integrals, which lead to slightly incorrect results whenever a survival curve reached 0 (or a CIF reached 1) and the “to” value was greater than the last observed time point. This may have impacted standard error estimates in
adjusted_rmst(),adjusted_rmtl()and output ofadjusted_curve_test()and functions that rely on those functions. This is fixed now, but may lead to slightly different estimates than in previous versions.
New Features
- Added the new methods
surv_tmleandcif_tmle, based on theconcretepackage - Added new instrumental variable based method
surv_iv_2SRIF - Added new methods
surv_prox_iptw,surv_prox_aiptwbased on code from Andrew Ying - Added the
adjusted_curve_ratio()function - Added the
plot_curve_ratio()function
Documentation
- Changed examples for the usage of
WeightItas suggested by Noah Greifer - Added a new vignette with an overview of implemented features of each method
- Small changes to formulations
adjustedCurves 0.10.1
CRAN release: 2023-04-20
- Fixed small issues in unit tests caused by changes in the
WeightItpackage - Made some small documentation updates
adjustedCurves 0.10.0
CRAN release: 2023-02-16
- Removed support for tmle, ostmle methods
- Changed citation information because manuscript was published
- Changed
printmethod to be equal tosummarymethod - Fixed issues with unit-tests that require packages under “Suggests” only
