Package: OptOTrials 1.0.2

Yeonhee Park

OptOTrials: Optimal Two-Stage Designs for Ordered Categorical Outcomes

Functions to design and simulate optimal two-stage randomized controlled trials (RCTs) with ordered categorical outcomes, supporting rank-based tests and group-sequential decision rules. Methods build on classical and modern rank tests and two-stage/Group-Sequential designs, e.g., Park (2025) <doi:10.1371/journal.pone.0318211>. Please see the package reference manual and vignettes for details.

Authors:Yeonhee Park [aut, cre], Yudi Wang [aut], Zhanpeng Xu [aut]

OptOTrials_1.0.2.tar.gz
OptOTrials_1.0.2.tar.gz(r-4.7-any)OptOTrials_1.0.2.tar.gz(r-4.6-any)
OptOTrials_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
OptOTrials/json (API)

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

On CRAN:

Conda:

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

1.00 score 422 downloads 23 exports 0 dependencies

Last updated from:454d76826d. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK100
source / vignettesOK159
linux-release-x86_64OK91
wasm-releaseOK99

Exports:Decision_rule_M_1stageDecision_rule_M.FDecision_rule_M.FSDecision_rule_S_1stageDecision_rule_S.FDecision_rule_S.FSDecision_rule_W_1stageDecision_rule_W.FDecision_rule_W.FSop.1stageop.Fop.FSp_minusp_plusp2_funpq_funProportional_odds_assumptionQR_funruleFruleFSthetaV_S.over.nkW_W

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Optimal Two-Stage Designs for Ordered Categorical OutcomesOptOTrials-package OptOTrials
One-stage clinical trial design based on the Mann-Whitney-Wilcoxon testDecision_rule_M_1stage
Decision fule for the F design based on the Mann-Whitney-Wilcoxon test with specified values of alpha1 and beta1Decision_rule_M.F
Decision rule for the FS design based on the Mann-Whitney-Wilcoxon test with the specified values of alpha1, alpha2, and beta1Decision_rule_M.FS
One-stage clinical trial design based on the score testDecision_rule_S_1stage
Decision rule for the F design based on the score test with the specified values of alpha1 and beta1Decision_rule_S.F
Decision rule of the FS design based on the score test with the specified values of alpha1, alpha2, and beta1Decision_rule_S.FS
One-stage clinical trial design based on the Win Odds testDecision_rule_W_1stage
Decision rule of the F design based on the Win Odds test with the specified values of alpha1 and beta1Decision_rule_W.F
Decision rule of the FS design based on the Win Odds test with the specified values of alpha1, alpha2, and beta1Decision_rule_W.FS
Performance evaluation of a one-stage designop.1stage
Performance evaluation of the F designop.F
Performance evaluation of the FS designop.FS
p_minusp_minus
p_plusp_plus
p2p2_fun
Calculation of pqpq_fun
Checking proportional odds assumptionProportional_odds_assumption
Calculateion of Q or RQR_fun
Decision fule of the F designruleF
Decision fule of the FS designruleFS
Calculation of thetatheta
Calcualtion of VV_S.over.nk
Calculation of WW_W