Skip to content

weightedsurv

Survival Analysis with Subject-Specific (Case Weights) and Time-Dependent Weighting

v0.1.0 · Dec 22, 2025 · MIT + file LICENSE

Description

Provides survival analysis functions with support for time-dependent and subject-specific (e.g., propensity score) weighting. Implements weighted estimation for Cox models, Kaplan-Meier survival curves, and treatment differences with point-wise and simultaneous confidence bands. Includes restricted mean survival time (RMST) comparisons evaluated across all potential truncation times with both point-wise and simultaneous confidence bands. See Cole, S. R. & HernĂ¡n, M. A. (2004) <doi:10.1016/j.cmpb.2003.10.004> for methodological background.

Downloads

569

Last 30 days

6672nd

569

Last 90 days

569

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
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 details (14 non-OK)
OK 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-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc   7.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc   7.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc   7.5Mb
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

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc   7.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc   7.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.8Mb
  sub-directories of 1Mb or more:
    doc   7.5Mb

Dependency Network

Dependencies Reverse dependencies ggplot2 rlang survival weightedsurv

Version History

new 0.1.0 Mar 9, 2026