Learn R Programming

BACCT (version 1.0)

plot.BACdecision: Generateing Plot(s) Used for Decision Rule Evaluation

Description

plot method for class "BACdecision"

Usage

"plot"(x, es.null = 0, es.null.side, interim = F, ...)

Arguments

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

Value

An object of "ggplot" class. Certain further edits are still allowed, such as changing title and adding reference lines.

Details

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.