Description Usage Arguments Details Value See Also Examples
opchar_gehan()
supports the simultaneous evaluation of the
operating characteristics of multiple Gehan two-stage single-arm clinical
trial designs for a single binary primary endpoint, determined using
des_gehan()
.
1 | opchar_gehan(des, ..., k, pi, summary = F)
|
des |
An object of class |
... |
Additional objects of class |
k |
Calculations are performed conditional on the trial stopping in one
of the stages listed in vector |
pi |
A vector of response probabilities to evaluate operating characteristics at. This will internally default to be the π0 and π1 from the supplied designs if it is left unspecified. |
summary |
A logical variable indicating whether a summary of the function's progress should be printed to the console. |
Note that each of the supplied designs must have been designed for the same
values of π0 and
find_D
.
For each value of pi) in
the supplied vector pi),
opchar_gehan()
evaluates the power (if find_D = T
), ESS, and
other key characteristics, of each of the supplied designs.
Calculations are performed conditional on the trial stopping in one of the
stages specified using the input (vector) k
.
A list of class "sa_opchar_gehan"
containing the following
elements
A tibble in the slot $opchar
summarising the operating
characteristics of the supplied designs.
Each of the input variables as specified, subject to internal modification.
des_gehan
, and their associated plot
family
of functions.
1 2 3 4 5 | # Find the optimal adaptive design for the default parameters
des <- des_gehan()
# Find its operating characteristics for a range of possible response
# probabilities
opchar <- opchar_gehan(des)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.