plot.BACdecision {BACCT}R Documentation

Generateing Plot(s) Used for Decision Rule Evaluation

Description

plot method for class "BACdecision"

Usage

## S3 method for class 'BACdecision'
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

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.

Value

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

Author(s)

Hongtao Zhang


[Package BACCT version 1.0 Index]