Cluster-randomized trials (CRTs) assign treatment to groups rather than individuals, so valid analyses must distinguish cluster-level and individual-level effects and define estimands within a potential-outcomes framework. This package supports right-censored survival outcomes for both single-state (binary) and multi-state settings. For single-state outcomes, it provides estimands based on stage-specific survival contrasts (SPCE) and restricted mean survival time (RMST). For multi-state outcomes, it provides SPCE as well as a generalized win-based restricted mean time-in-favor estimand (RMT-IF). The package implements doubly robust estimators that accommodate covariate-dependent censoring and remain consistent if either the outcome model or the censoring model is correctly specified. Users can choose marginal Cox or gamma-frailty Cox working models for nuisance estimation, and inference is supported via leave-one-cluster-out jackknife variance and confidence interval estimation. Methods are described in Fang et al. (2025) "Estimands and doubly robust estimation for cluster-randomized trials with survival outcomes" <doi:10.48550/arXiv.2510.08438>.
| Version: | 0.0.1 |
| Depends: | R (≥ 3.5) |
| Imports: | Rcpp, frailtyEM, survival, ggplot2, pracma, abind |
| LinkingTo: | Rcpp, RcppArmadillo |
| Published: | 2025-12-30 |
| DOI: | 10.32614/CRAN.package.DRsurvCRT |
| Author: | Xi Fang [aut, cre], Fan Li [aut] |
| Maintainer: | Xi Fang <x.fang at yale.edu> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | yes |
| CRAN checks: | DRsurvCRT results |
| Reference manual: | DRsurvCRT.html , DRsurvCRT.pdf |
| Package source: | DRsurvCRT_0.0.1.tar.gz |
| Windows binaries: | r-devel: DRsurvCRT_0.0.1.zip, r-release: DRsurvCRT_0.0.1.zip, r-oldrel: DRsurvCRT_0.0.1.zip |
| macOS binaries: | r-release (arm64): DRsurvCRT_0.0.1.tgz, r-oldrel (arm64): DRsurvCRT_0.0.1.tgz, r-release (x86_64): DRsurvCRT_0.0.1.tgz, r-oldrel (x86_64): DRsurvCRT_0.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=DRsurvCRT to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.