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

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.

Version: 0.1.0
Imports: ggplot2, graphics, rlang, stats, survival, utils
Suggests: adjustedCurves, data.table, DiagrammeR, dplyr, gt, knitr, pammtools, rmarkdown
Published: 2025-12-22
DOI: 10.32614/CRAN.package.weightedsurv (may not be active yet)
Author: Larry Leon [aut, cre]
Maintainer: Larry Leon <larry.leon.05 at post.harvard.edu>
BugReports: https://github.com/larry-leon/weightedsurv/issues
License: MIT + file LICENSE
URL: https://github.com/larry-leon/weightedsurv
NeedsCompilation: no
Materials: README
CRAN checks: weightedsurv results

Documentation:

Reference manual: weightedsurv.html , weightedsurv.pdf
Vignettes: Weighted Survival Analysis Examples (source, R code)

Downloads:

Package source: weightedsurv_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=weightedsurv to link to this page.