Designing Cluster-Randomized Trials with Two Continuous Co-Primary Outcomes
Overview
Provides methods for powering cluster-randomized trials with two continuous co-primary outcomes using five key design techniques. Includes functions for calculating required sample size and statistical power. For more details on methodology, see Owen et al. (2025) doi:10.1002/sim.70015, Yang et al. (2022) doi:10.1111/biom.13692, Pocock et al. (1987) doi:10.2307/2531989, Vickerstaff et al. (2019) doi:10.1186/s12874-019-0754-4, and Li et al. (2020) doi:10.1111/biom.13212.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 17
- Examples that run
- 100%17 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- not measured
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/melodyaowen/crt2power on 2026-10-11.
Dependencies
Installing crt2power adds 160 packages (73 with compiled code, 95 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Package metadata
- First published
- 2024-06-20
- Total releases
- 5 / 2 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.3
- Download size
- 24 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("crt2power")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.