plot.MAMS | R Documentation |
produces as plot of the boundaries.
## S3 method for class 'MAMS'
plot(
x,
ask = TRUE,
which = 1:2,
new = TRUE,
col = NULL,
pch = NULL,
lty = NULL,
main = NULL,
xlab = "Analysis",
ylab = "Test statistic",
ylim = NULL,
type = NULL,
las = 1,
...
)
x |
An output object of class MAMS |
ask |
A logical indicating if R should wait for the next plot to be displayed. |
which |
A vector indicating which plot(s) to define. |
new |
A logical indicating if the new plot of the futility and efficacy limits should be displayed (default='TRUE“). |
col |
A specification for the default plotting color (default= |
pch |
Either an integer specifying a symbol or a single character to be
used as the default in plotting points (default= |
lty |
A specification for the default line type to be used between
analyses (default= |
main |
An overall title for the plot (default= |
xlab |
A title for the x axis (default= |
ylab |
A title for the y axis (default='"Test statistic"“). |
ylim |
A title for the y axis (default= |
type |
Type of plot to be used (default= |
las |
A specification of the axis labeling style. The default |
... |
Further arguments passed to or from other methods. |
Graphic output.
Thomas Jaki, Dominique-Laurent Couturier
# 2-stage design with triangular boundaries
res <- mams(K=4, J=2, alpha=0.05, power=0.9, r=1:2, r0=1:2,
p=0.65, p0=0.55, ushape="triangular", lshape="triangular", nstart=30)
plot(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.