OptOTrials 1.1.0

Interface

The many separate design and simulation functions are replaced by two entry points, in response to the referee reports on the accompanying article.

Both return classed objects with named components and print() methods, so the output no longer has to be indexed by position.

Removed

The functions below were deprecated in 1.0.3, which warned on every call, and are removed here. If a script written for 1.0.2 stops working, the replacement is listed below.

The helpers p_plus(), p_minus() and pq_fun() are no longer exported. They are intermediate quantities inside the variance calculations rather than part of the interface, and they are still used internally.

V_S.over.nk(), QR_fun() and W_W() remain exported and are now documented with examples. They give the asymptotic variance of the score, Mann-Whitney-Wilcoxon and win odds statistics, the quantities defined in the appendix of the accompanying article, and they let a threshold be computed at a sample size of the user’s choosing rather than at the optimal one.

Designs and operating characteristics are unchanged: the new interface reproduces every value the old one produced, and the package test suite checks this against the tables published in the article.

Fixed

New

OptOTrials 1.0.3

Transitional release. Adds rule(), op() and design_table(), and deprecates the earlier design and simulation functions: they continue to work and to return exactly what they always returned, but warn that they will be removed in 1.1.0. No function is removed in this version.

OptOTrials 1.0.2

Initial CRAN release.

mirror server hosted at Truenetwork, Russian Federation.