Description Usage Arguments Examples
Plots the expected sample size under H0 versus the maximum sample size
1 2 |
x |
an object returned by |
main |
title of the graph, passed on to |
xlab |
x-axis label of the graph, passed on to |
ylab |
y-axis label of the graph, passed on to |
... |
other arguments passed on to |
1 2 3 4 5 6 7 8 | samplesize <- simon2stage(p0 = 0.1, pa = 0.3, alpha = 0.05, beta = 0.2,
eps = 0.005, N_min = 1, N_max = 50)
plot(samplesize)
samplesize <- sargent2stage(p0 = 0.1, pa = 0.3, alpha = 0.05, beta = 0.1,
eta = 0.8, pi = 0.8,
eps = 0.005, N_min = 15, N_max = 30)
plot(samplesize)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.