plot.OptGS_des: Plot the stopping boundaries of a group-sequential clinical...

Description Usage Arguments Value See Also Examples

View source: R/plot.OptGS_des.R

Description

plot.OptGS_des() plots the stopping boundaries from a group-sequential clinical trial design object for a normally distributed primary outcome. Plots are produced by stage and by sample size.

Usage

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

Arguments

x

An object of class OptGS_des, as returned by des_gs, des_nearopt, des_opt, or build.

...

For compatability with the generic.

output

A logical variable indicating whether to return output from the function.

Value

A list containing each of the input variables (subject to internal modification), along with the following elements:

See Also

an, des_gs, des_nearopt, des_opt, build, sim, opchar, plot.OptGS_opchar, print.OptGS_des, summary.OptGS_des.

Examples

1
2
3
4
# A two-stage design's boundaries
plot(opt_gs())
# A three-stage design's boundaries
plot(opt_gs(J = 3))

mjg211/OptGS documentation built on May 28, 2021, 3:44 p.m.