Operating characteristics of one Simon's two-stage design.
simon_oc(prob, R, object, ...)# S3 method for ph2simon
simon_oc(prob, R = 10000L, object, ...)
# S3 method for ph2simon4
simon_oc(
prob,
R = 10000L,
object,
...,
r1 = object@r1,
n1 = object@n1,
r = object@r,
n = object@n
)
Function simon_oc()
returns simon_oc object.
named double vector,
true response rate(s) \(p\) of (multiple) drug(s).
The names(prob)
should be the name(s) of the drug(s).
integer scalar, number of simulations. Default 1e4L
.
ph2simon or ph2simon4 object
parameters of function ph2simon4()
, most importantly type
(optional) integer scalars, see ph2simon4.
maxResp
integer vector of same length as \(p\),
the frequencies of each regime having maximum response.
The summation of maxResp
is the number of simulation copies.
simon_maxResp
integer vector of same length as \(p\), the frequencies of each regime having maximum response and success in Simon's two-stage trial.