plot.sa_des_admissable: Plot the stopping boundaries of admissable group sequential...

Description Usage Arguments Details Value See Also Examples

View source: R/plot.sa_des_admissable.R

Description

Plots the stopping boundaries of admissable group sequential single-arm trial designs determined using des_admissable(). The possible (s,m) states during the trial are plotted in a colour coded manner to indicate their associated decision rules.

Usage

1
2
## S3 method for class 'sa_des_admissable'
plot(x, ..., output = F)

Arguments

x

An object of class "sa_des_admissable", as returned by des_admissable().

...

Included for compatibility with the generic. Not currently used.

output

A logical variable indicating whether the outputs described below should be returned.

Details

In addition, admissable design plots are produced to depict in which region of the weight-space each of the designs is optimal, and to illuminate the expected sample size characteristics of the admissable designs.

Value

If output = TRUE, a list containing the following elements is returned

See Also

des_admissable, opchar_admissable, and their associated plot family of functions.

Examples

1
2
3
4
# Find the admissable two-stage designs for the default parameters
des <- des_admissable()
# Plot the stopping boundaries and admissable design plot
plot(des)

mjg211/singlearm documentation built on May 8, 2021, 3:17 a.m.