Skip to content

adjustedCurves

Confounder-Adjusted Survival Curves and Cumulative Incidence Functions

v0.11.4 · Feb 5, 2026 · GPL (>= 3)

Description

Estimate and plot confounder-adjusted survival curves using either 'Direct Adjustment', 'Direct Adjustment with Pseudo-Values', various forms of 'Inverse Probability of Treatment Weighting', two forms of 'Augmented Inverse Probability of Treatment Weighting', 'Empirical Likelihood Estimation' or 'Targeted Maximum Likelihood Estimation'. Also includes a significance test for the difference between two adjusted survival curves and the calculation of adjusted restricted mean survival times. Additionally enables the user to estimate and plot cause-specific confounder-adjusted cumulative incidence functions in the competing risks setting using the same methods (with some exceptions). For details, see Denz et. al (2023) <doi:10.1002/sim.9681>.

Downloads

CRAN

749

Last 30 days

4425th

2.3K

Last 90 days

10.9K

Last year

Trend: +6.2% (30d vs prior 30d)

r2u

18

Last 30 days

39

Last 90 days

226

Last year

Trend: +12.5% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘adjustedCurves-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: adjusted_curve_test
> ### Title: Test if there is a difference between two Confounder-Adjusted

...[truncated]...
ion
Failed with error:  ‘there is no package called ‘riskRegression’’
Error in loadNamespace(x) : there is no package called ‘riskRegression’
Calls: adjustedsurv ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies R.utils doParallel doRNG dplyr foreach rlang survival weightedsurv adjustedCurves

Version History

10 tracked
new 0.11.4 Mar 10, 2026
updated 0.11.4 ← 0.11.3 diff Feb 4, 2026
updated 0.11.3 ← 0.11.2 diff Jul 12, 2025
updated 0.11.2 ← 0.11.1 diff Jul 28, 2024
updated 0.11.1 ← 0.11.0 diff Apr 9, 2024
updated 0.11.0 ← 0.10.1 diff Feb 12, 2024
updated 0.10.1 ← 0.10.0 diff Apr 19, 2023
updated 0.10.0 ← 0.9.1 diff Feb 15, 2023
updated 0.9.1 ← 0.9.0 diff Nov 21, 2022
new 0.9.0 Sep 21, 2022