Package: DRsurvCRT 0.0.1

Xi Fang

DRsurvCRT: Doubly-Robust Estimation for Survival Outcomes in Cluster-Randomized Trials

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>.

Authors:Xi Fang [aut, cre], Fan Li [aut]

DRsurvCRT_0.0.1.tar.gz
DRsurvCRT_0.0.1.tar.gz(r-4.7-arm64)DRsurvCRT_0.0.1.tar.gz(r-4.7-x86_64)DRsurvCRT_0.0.1.tar.gz(r-4.6-arm64)DRsurvCRT_0.0.1.tar.gz(r-4.6-x86_64)
DRsurvCRT_0.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
DRsurvCRT/json (API)

# Install 'DRsurvCRT' in R:
install.packages('DRsurvCRT', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • datm - Simulated multi-state CRT survival data
  • dats - Simulated single-state CRT survival data

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

1.00 score 406 downloads 1 exports 36 dependencies

Last updated from:aa436d0f01. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK167
linux-devel-x86_64OK158
source / vignettesOK213
linux-release-arm64OK161
linux-release-x86_64OK188
wasm-releaseOK139

Exports:DRsurvfit

Dependencies:abindclicpp11expintexpmfarverfrailtyEMgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixmsmmvtnormnumDerivpillarpkgconfigpracmaR6RColorBrewerRcppRcppArmadillorlangS7scalessurvivaltibbleutf8vctrsviridisLitewithr