The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
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: weightedsurv_0.1.0.zip, r-release: weightedsurv_0.1.0.zip, r-oldrel: weightedsurv_0.1.0.zip
macOS binaries: r-release (arm64): weightedsurv_0.1.0.tgz, r-oldrel (arm64): weightedsurv_0.1.0.tgz, r-release (x86_64): weightedsurv_0.1.0.tgz, r-oldrel (x86_64): weightedsurv_0.1.0.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.