opchar: Calculate the operating characteristics of a group-sequential...

Description Usage Arguments Value See Also Examples

View source: R/opchar.R

Description

opchar() analytically calculates the operating characteristics of a group-sequential clinical trial.

Usage

1
2
3
4
5
opchar(
  des = OptGS::des_gs(),
  tau = seq(-des$delta, 2 * des$delta, length.out = 100),
  summary = FALSE
)

Arguments

des

An object of class "OptGS_des", as returned by des_gs, des_nearopt, des_opt, or build. Defaults to des_gs().

tau

A numeric vector indicating the values of τ to perform calculations for. Defaults to seq(-des$delta, 2*des$delta, length.out = 100).

summary

A logical variable indicating whether a summary of the function's progress should be printed to the console. Defaults to FALSE.

Value

A list with additional class "OptGS_opchar". It will contain each of the input variables (subject to internal modification), along with the following elements:

See Also

des_gs, des_nearopt, des_opt, build, est, sim, plot.OptGS_opchar

Examples

1
2
# Calculations for the default parameters
opchar     <- opchar()

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