simon_pr {VisualizeSimon2Stage} | R Documentation |
Probabilities of one Simon's Two-Stage Design
Description
Probabilities of frail
(i.e., early termination) and success (to reject H_0
)
of one Simon's two-stage design, at given true response rate(s).
Usage
simon_pr(prob, object, ...)
## S3 method for class 'ph2simon'
simon_pr(prob, object, ...)
## S3 method for class 'ph2simon4'
simon_pr(
prob,
object,
r1 = object@r1,
n1 = object@n1,
r = object@r,
n = object@n,
...
)
Arguments
prob |
|
object |
|
... |
parameters of function |
r1 , n1 , r , n |
Value
Function simon_pr()
returns simon_pr object.
Slots
frail
numeric scalar or vector, probabilities of frail (i.e., early termination) at given true response rate(s)
p
.reject
numeric scalar or vector, probabilities of success (to reject
H_0
) at given true response rate(s)p
.eN
numeric scalar or vector, expected sample size(s)
\textrm{E}(n)
at given true response rate(s)p
.prob
[Package VisualizeSimon2Stage version 0.2.2 Index]