Package: MRStdLCRT 0.1.1

Xi Fang

MRStdLCRT: Model-Robust Standardization for Longitudinal Cluster-Randomized Trials

Provides estimation and leave-one-cluster-out jackknife standard errors for four longitudinal cluster-randomized trial estimands: horizontal individual average treatment effect (h-iATE), horizontal cluster average treatment effect (h-cATE), vertical individual average treatment effect (v-iATE), and vertical cluster-period average treatment effect (v-cATE), using unadjusted and augmented (model-robust standardization) estimators. The working model may be fit using linear mixed models for continuous outcomes or generalized estimating equations and generalized linear mixed models for binary outcomes. Period inclusion for aggregation is determined automatically: only periods with both treated and control clusters are included in the construction of the marginal means and treatment effect contrasts. See Fang et al. (2025) <doi:10.48550/arXiv.2507.17190>.

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

MRStdLCRT_0.1.1.tar.gz
MRStdLCRT_0.1.1.zip(r-4.7-any)MRStdLCRT_0.1.1.zip(r-4.6-any)
MRStdLCRT_0.1.1.tar.gz(r-4.7-any)MRStdLCRT_0.1.1.tar.gz(r-4.6-any)
MRStdLCRT_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
MRStdLCRT/json (API)

# Install 'MRStdLCRT' in R:
install.packages('MRStdLCRT', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • sw_b - Example stepped wedge CRT dataset with binary outcome
  • sw_c - Example of stepped wedge CRT dataset for continuous outcome
  • xo_b - Example crossover cluster-randomized trial dataset with binary outcome
  • xo_c - Example crossover cluster-randomized trial dataset with continuous outcome

On CRAN:

Conda:

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

1.30 score 243 downloads 1 exports 43 dependencies

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

TargetResultTimeFilesSyslog
linux-develOK115
source / vignettesOK188
linux-releaseOK108
windows-develOK78
windows-releaseOK84
wasm-releaseOK106

Exports:mrstdlcrt_fit

Dependencies:bootclicpp11dplyrfarvergeegenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixminqanlmenloptrpillarpkgconfigpurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr