plt.sample.space.SM {CLAST} | R Documentation |
Plots decision function in S-M space with boundary vectors "a" and "b". If p0 and p1 are provided then the type 1 and type 2 error are displayed in the main graphic title
plt.sample.space.SM(n, a, b, p0 = NULL, p1 = NULL)
n |
Design vector of sample sizes |
a |
Design vector of lower boundaries |
b |
Design vector of upper boundaries |
p0 |
Lower benchnmark for success probability |
p1 |
Upper benchnmark for success probability |
NULL
Chris J. Lloyd
Lloyd, C.J. (2020) Exact confidence limits after a group sequential single arm binary trial. Statistics in Medicine, Volume 38, 2389-2399. doi: 10.1002/sim.8909
# Figure 1 of Lloyd (2020)
n=c(5,6,5,9)
a=c(2,4,5,12)
b=c(5,9,11,13)
plt.sample.space.SM(n,a,b)
# produces plots in Figure 1 or reference.