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>. The functions 'rule()', 'op()' and 'design_table()' provide a single entry point for constructing designs, evaluating their operating characteristics, and tabulating several designs at once. The earlier functions, one for each combination of test statistic and stopping rule, are retained and still return the same values, but they are deprecated: each warns and names its replacement, and they will be removed in the next version. Please see the package reference manual and the vignette for details.
| Version: | 1.0.3 |
| Depends: | R (≥ 4.0) |
| Imports: | stats |
| Suggests: | knitr, rmarkdown |
| Published: | 2026-08-31 |
| DOI: | 10.32614/CRAN.package.OptOTrials |
| Author: | Yeonhee Park [aut, cre], Yudi Wang [aut], Zhanpeng Xu [aut] |
| Maintainer: | Yeonhee Park <yeonheepark at skku.edu> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | OptOTrials results |
| Reference manual: | OptOTrials.html , OptOTrials.pdf |
| Vignettes: |
Designing two-stage trials with ordered categorical outcomes (source, R code) |
| Package source: | OptOTrials_1.0.3.tar.gz |
| Windows binaries: | r-devel: OptOTrials_1.0.3.zip, r-release: OptOTrials_1.0.3.zip, r-oldrel: OptOTrials_1.0.3.zip |
| macOS binaries: | r-release (arm64): OptOTrials_1.0.3.tgz, r-oldrel (arm64): OptOTrials_1.0.3.tgz, r-release (x86_64): OptOTrials_1.0.3.tgz, r-oldrel (x86_64): OptOTrials_1.0.3.tgz |
| Old sources: | OptOTrials archive |
Please use the canonical form https://CRAN.R-project.org/package=OptOTrials to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.