Package: crt2power 1.2.2

Melody Owen

crt2power: Designing Cluster-Randomized Trials with Two Continuous Co-Primary Outcomes

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

Authors:Melody Owen [aut, cre]

crt2power_1.2.2.tar.gz
crt2power_1.2.2.zip(r-4.7)crt2power_1.2.2.zip(r-4.6)crt2power_1.2.2.zip(r-4.5)
crt2power_1.2.2.tgz(r-4.6-any)crt2power_1.2.2.tgz(r-4.5-any)
crt2power_1.2.2.tar.gz(r-4.7-any)crt2power_1.2.2.tar.gz(r-4.6-any)
crt2power_1.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
crt2power/json (API)

# Install 'crt2power' in R:
install.packages('crt2power', repos = c('https://melodyaowen.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/melodyaowen/crt2power/issues

On CRAN:

Conda:

3.00 score 2 scripts 190 downloads 17 exports 166 dependencies

Last updated from:b1c1437784. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK360
source / vignettesOK244
linux-release-x86_64OK362
macos-release-arm64OK361
macos-oldrel-arm64OK259
windows-develOK339
windows-releaseOK304
windows-oldrelOK324
wasm-releaseOK147

Exports:calc_K_comb_outcomecalc_K_conj_testcalc_K_disj_2dftestcalc_K_pval_adjcalc_K_single_1dftestcalc_m_comb_outcomecalc_m_conj_testcalc_m_disj_2dftestcalc_m_pval_adjcalc_m_single_1dftestcalc_ncp_chi2calc_pwr_comb_outcomecalc_pwr_conj_testcalc_pwr_disj_2dftestcalc_pwr_pval_adjcalc_pwr_single_1dftestrun_crt2_design

Dependencies:askpassbackportsbase64encbitbit64blobbrewbriobroombslibcachemcallrcellrangerclassclicliprcodetoolscommonmarkconflictedcpp11crayoncredentialscurldata.tableDBIdbplyrdescdevtoolsdiffobjdigestdownlitdplyrdtplyre1071ellipsisevaluatefansifarverfastmapfontawesomeforcatsforeachfsgarglegdatagenericsgertggplot2ghgitcredsgluegmodelsgoogledrivegooglesheets4gtablegtoolshavenhighrhmshtmltoolshtmlwidgetshttpuvhttrhttr2idsiniisobanditeratorsjquerylibjsonliteknitrlabelinglabelledlaterlatticelifecyclelubridatemagrittrMASSMatrixmemoisemimeminiUIminqamitoolsmodelrmvtnormnlmenumDerivopensslotelpakpillarpkgbuildpkgconfigpkgdownpkgloadpraiseprettyunitsprocessxprofvisprogresspromisesproxypspurrrR6raggrappdirsrcmdcheckRColorBrewerRcppRcppArmadilloreadrreadxlrematchrematch2reprexrlangrmarkdownrootSolveroxygen2rprojrootrstudioapirversionsrvestS7sassscalesselectrsessioninfoshinysourcetoolsstringistringrsurveysurvivalsyssystemfontstableonetestthattextshapingtibbletidyrtidyselecttidyversetimechangetinytextzdburlcheckerusethisutf8uuidvctrsviridisLitevroomwaldowhiskerwithrxfunxml2xopenxtableyamlzipzoo

Readme and manuals

Help Manual

Help pageTopics
Calculate required number of clusters per treatment group for a cluster-randomized trial with co-primary endpoints using a combined outcomes approach.calc_K_comb_outcome
Calculate required number of clusters per treatment group for a cluster-randomized trial with co-primary endpoints using the conjunctive intersection-union test approach.calc_K_conj_test
Calculate required number of clusters per treatment group for a cluster-randomized trial with co-primary endpoints using a disjunctive 2-DF test approach.calc_K_disj_2dftest
Calculate required number of clusters per treatment group for a cluster-randomized trial with co-primary endpoints using three common p-value adjustment methodscalc_K_pval_adj
Calculate required number of clusters per treatment group for a cluster-randomized trial with co-primary endpoints using the single 1-DF combined test approach.calc_K_single_1dftest
Calculate cluster size for a cluster-randomized trial with co-primary endpoints using a combined outcomes approach.calc_m_comb_outcome
Calculate cluster size for a cluster-randomized trial with co-primary endpoints using the conjunctive intersection-union test approach.calc_m_conj_test
Calculate cluster size for a cluster-randomized trial with co-primary endpoints using a disjunctive 2-DF test approach.calc_m_disj_2dftest
Calculate cluster size for a cluster-randomized trial with co-primary endpoints using three common p-value adjustment methodscalc_m_pval_adj
Calculate cluster size for a cluster-randomized trial with co-primary endpoints using the single 1-DF combined test approach.calc_m_single_1dftest
Find the non-centrality parameter corresponding to Type I error rate and statistical powercalc_ncp_chi2
Calculate statistical power for a cluster-randomized trial with co-primary endpoints using a combined outcomes approach.calc_pwr_comb_outcome
Calculate statistical power for a cluster-randomized trial with co-primary endpoints using the conjunctive intersection-union test approach.calc_pwr_conj_test
Calculate statistical power for a cluster-randomized trial with co-primary endpoints using a disjunctive 2-DF test approach.calc_pwr_disj_2dftest
Calculate statistical power for a cluster-randomized trial with co-primary endpoints using three common p-value adjustment methodscalc_pwr_pval_adj
Calculate statistical power for a cluster-randomized trial with co-primary endpoints using the single 1-DF combined test approach.calc_pwr_single_1dftest
Find study design output specifications based on all five CRT co-primary design methods.run_crt2_design