Description Usage Arguments See Also Examples
Methods to access the stage-two critical values of a
TwoStageDesign
.
c2
returns the stage-two critical value conditional on the stage-one test
statistic.
1 2 3 4 5 6 7 |
d |
design |
x1 |
stage-one test statistic |
... |
further optional arguments |
TwoStageDesign
, see n
for accessing
the sample size of a design
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | design <- TwoStageDesign(
n1 = 25,
c1f = 0,
c1e = 2.5,
n2 = 50,
c2 = 1.96,
order = 7L
)
c2(design, 2.2) # 1.96
c2(design, 3.0) # -Inf
c2(design, -1.0) # Inf
design <- TwoStageDesign(
n1 = 25,
c1f = 0,
c1e = 2.5,
n2 = 50,
c2 = 1.96,
order = 7L
)
c2(design, 2.2) # 1.96
c2(design, 3.0) # -Inf
c2(design, -1.0) # Inf
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.