Plot method for MAMS objects
plot.MAMS.Rdproduces as plot of the boundaries.
Usage
# 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,
...
)Arguments
- 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.
1displays the efficacy and futility limits per stage,2displays the efficacy nd futility probabilities per stage,1:2(default) displays both.- 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=
NULL). Seeparfor more details.- pch
Either an integer specifying a symbol or a single character to be used as the default in plotting points (default=
NULL). Seeparfor more details.- lty
A specification for the default line type to be used between analyses (default=
NULL). Setting to zero suppresses plotting of the lines. Seeparfor more details.- main
An overall title for the plot (default=
NULL).- xlab
A title for the x axis (default=
"Analysis").- ylab
A title for the y axis (default=`"Test statistic"“).
- ylim
A title for the y axis (default=
"Test statistic").- type
Type of plot to be used (default=
NULL). Seeplotfor more details.- las
A specification of the axis labeling style. The default
1ensures the labels are always horizontal. See?parfor details.- ...
Further arguments passed to or from other methods.