OptOTrials 1.0.3

Transitional release. It adds the unified interface and deprecates the earlier one; nothing is removed in this version, and every function exported by 1.0.2 still works exactly as before.

New

Deprecated

The functions below still work and still return exactly what they always returned, but each now warns that it will be removed in version 1.1.0 and names its replacement. See help("OptOTrials-deprecated").

Two habits change when converting a script. rule() returns a named object, so res[3] becomes res$n1, and the object is passed straight to op() instead of its elements being transcribed. op() evaluates both hypotheses in one call, so the old pattern of calling the simulator twice, once with (p1, p2) and once with (p1, p1), is no longer needed.

Fixed

OptOTrials 1.0.2

Initial CRAN release.