simon_oc | R Documentation |
Operating characteristics of one Simon's two-stage design.
simon_oc(prob, R, object, ...)
## S3 method for class 'ph2simon'
simon_oc(prob, R = 10000L, object, ...)
## S3 method for class 'ph2simon4'
simon_oc(
prob,
R = 10000L,
object,
...,
r1 = object@r1,
n1 = object@n1,
r = object@r,
n = object@n
)
prob |
named double vector,
true response rate(s) |
R |
integer scalar, number of simulations. Default |
object |
ph2simon or ph2simon4 object |
... |
parameters of function |
r1 , n1 , r , n |
(optional) integer scalars, see ph2simon4. |
Function simon_oc()
returns simon_oc object.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.