The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.
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 (may not be active yet) |
| 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: not available, 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.
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.
Health stats visible at Monitor.