Skip to content

Commit

Permalink
fix: resolves issue #34
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDenz1 committed Aug 10, 2024
1 parent 062ff65 commit e20a742
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: adjustedCurves
Title: Confounder-Adjusted Survival Curves and Cumulative Incidence
Functions
Version: 0.11.2
Version: 0.11.2.9000
Authors@R:
person("Robin", "Denz", , "robin.denz@rub.de", role = c("aut", "cre"))
Maintainer: Robin Denz <robin.denz@rub.de>
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,10 @@ 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, supplying `estimand="ATT"` to `adjustedsurv()` with `method="iptw_km"` and a formula in the `treatment_model` argument would result in the `estimand` argument not being passed to `weightit()`.
* Fixed issues that ocurred with `plot.adjustedsurv()` when the `adjustedsurv` object 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.3

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_model` argument being ignored when using `method="aiptw"` in `adjustedcif()`.
2 changes: 1 addition & 1 deletion R/method_aiptw.r
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ surv_aiptw <- function(data, variable, ev_time, event, conf_int,
event=event, conf_int=conf_int, conf_level=conf_level,
times=times, outcome_model=outcome_model,
treatment_model=treatment_model,
cencoring_model=censoring_model, verbose=verbose,
censoring_model=censoring_model, verbose=verbose,
cause=1, ...)

plotdata <- out$plotdata
Expand Down

0 comments on commit e20a742

Please sign in to comment.