| OptOTrials-package | Optimal Two-Stage Designs for Ordered Categorical Outcomes |
| Decision_rule_M.F | Decision fule for the F design based on the Mann-Whitney-Wilcoxon test with specified values of alpha1 and beta1 |
| Decision_rule_M.FS | Decision rule for the FS design based on the Mann-Whitney-Wilcoxon test with the specified values of alpha1, alpha2, and beta1 |
| Decision_rule_M_1stage | One-stage clinical trial design based on the Mann-Whitney-Wilcoxon test |
| Decision_rule_S.F | Decision rule for the F design based on the score test with the specified values of alpha1 and beta1 |
| Decision_rule_S.FS | Decision rule of the FS design based on the score test with the specified values of alpha1, alpha2, and beta1 |
| Decision_rule_S_1stage | One-stage clinical trial design based on the score test |
| Decision_rule_W.F | Decision rule of the F design based on the Win Odds test with the specified values of alpha1 and beta1 |
| Decision_rule_W.FS | Decision rule of the FS design based on the Win Odds test with the specified values of alpha1, alpha2, and beta1 |
| Decision_rule_W_1stage | One-stage clinical trial design based on the Win Odds test |
| op.1stage | Performance evaluation of a one-stage design |
| op.F | Performance evaluation of the F design |
| op.FS | Performance evaluation of the FS design |
| OptOTrials | Optimal Two-Stage Designs for Ordered Categorical Outcomes |
| p2_fun | p2 |
| pq_fun | Calculation of pq |
| Proportional_odds_assumption | Checking proportional odds assumption |
| p_minus | p_minus |
| p_plus | p_plus |
| QR_fun | Calculateion of Q or R |
| ruleF | Decision fule of the F design |
| ruleFS | Decision fule of the FS design |
| theta | Calculation of theta |
| V_S.over.nk | Calcualtion of V |
| W_W | Calculation of W |