# Analytically determine the operating characteristics of a multi-stage group-sequential multi-arm clinical trial for a Bernoulli distributed primary outcome

Source: `R/opchar_gs_bern.R`
`opchar_gs_bern.Rd`

`opchar_gs_bern()` determines the operating characteristics of a specified multi-stage group-sequential multi-arm clinical trial design assuming the primary outcome variable is Bernoulli distributed, for given values of the true treatment effects, using multivariate normal integration.

    opchar_gs_bern(des = des_gs_bern(), pi, summary = FALSE)

## Arguments

des | A `list` of class `"multiarm_des_gs_bern"`, as returned by `build_gs_bern` or `des_gs_bern` (i.e., a multi-stage group-sequential multi-arm clinical trial design for a Bernoulli distributed outcome). Defaults to `des_gs_bern()`.
pi | A `matrix` whose rows indicate values of π at which to evaluate the operating characteristics. Defaults internally to the global null, global alternative, and each of the least favourable configurations, for the specified design `des`.
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` containing the following elements

- A `tibble` in the slot `$opchar` giving the determined operating characteristics.

- A `tibble` in the slot `$pmf_N` giving the determined probability mass functions of the random required sample size.

- Each of the input variables.

## See also

`build_gs_bern`, `des_gs_bern`, `plot.multiarm_des_gs_bern`, `sim_gs_bern`.

## Examples

    # The operating characteristics for the default parameters
    opchar        <- opchar_gs_bern()