simon_oc {VisualizeSimon2Stage} | R Documentation |
Operating Characteristics of Simon's Two-Stage Design
Description
Operating characteristics of one Simon's two-stage design.
Usage
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
)
Arguments
prob |
named double vector,
true response rate(s) |
R |
integer scalar, number of simulations. Default |
object |
|
... |
parameters of function |
r1 , n1 , r , n |
Value
Function simon_oc()
returns simon_oc object.
Slots
maxResp
integer vector of same length as
p
, the frequencies of each regime having maximum response. The summation ofmaxResp
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.
[Package VisualizeSimon2Stage version 0.2.2 Index]