View source: R/plot.SeqSGPVeffects.R
plot.SeqSGPVeffects | R Documentation |
Condition all but two monitoring frequency parameters (wait, steps, affirm, lag, N) must have a single value.
## S3 method for class 'SeqSGPVeffects'
plot(
am,
stat,
wait,
steps,
affirm,
lag,
N,
xlim,
ylim,
log,
addRegions = TRUE,
addRegionLines = TRUE,
addMain = TRUE,
addLegend = TRUE,
ablineH = NULL,
ablineV = NULL,
setMargins,
xlab,
ylab = "",
...
)
am |
SeqSGPV object |
stat |
Any of: rejH0, cover, bias, stopInconclusive, stopNotROPE, stopNotROME, stopInconsistent. Use prefix lag.x when some outcomes were lagged/delayed. |
wait |
Vector of possible wait times (W) before monitoring. |
steps |
Vector of the number of observations (S) in between monitoring assessments. |
affirm |
Vector of the number of observations required for affirming a stopping rule (A) in between raising an alert of stopping. |
lag |
Vector of the number of delayed outcomes between enrolling a single observation and observing its outcome. |
N |
Vector of maximum sample size. Can be set as Inf (indefinite). |
xlim |
Optional limits for x-axis. |
ylim |
Optional limits for y-axis. |
addRegions |
Defaults to TRUE to add PRISM boundaries to plot. |
addRegionLines |
Defaults to TRUE to add PRISM boundary lines to plot. |
addMain |
Provides default title for figure. Defaults to TRUE. |
addLegend |
Provides default legend for figure. Defaults to TRUE. |
ablineH |
Add any set of horizontal reference lines. |
ablineV |
Add any set of vertical reference lines. |
setMargins |
Optional figure margins |
ylab |
ylab |
... |
additional plot parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.