plot.BACdecision {BACCT} | R Documentation |
plot
method for class "BACdecision"
## S3 method for class 'BACdecision'
plot(x, es.null = 0, es.null.side, interim = F, ...)
x |
An object of "BACdecision" class. |
es.null |
Effect size under the null hypothesis. Default is 0. |
es.null.side |
"=" is the only option now. |
interim |
Logical indicator of interim analysis (versus final analysis). Figures will differ in legends and titles. |
... |
Argument to be passed to or from other methods |
If interim=F
, only one power/type I error figure will be
generated. Otherwise, two figures will be generated correponding to "No Go"
and "Go" decisions respectively.
An object of "ggplot" class. Certain further edits are still allowed, such as changing title and adding reference lines.
Hongtao Zhang