View source: R/build_gs_pois.R
| build_gs_pois | R Documentation | 
build_gs_pois() builds a multi-stage group-sequential multi-arm
clinical trial design object assuming the primary outcome variable is
Poisson distributed, like those returned by des_gs_pois.
build_gs_pois(
  n10 = 77,
  n1 = n10 * (1 + K * ratio),
  e = c(2.42, 2.42),
  f = c(-2.42, 2.42),
  K = 2,
  alpha = 0.025,
  beta = 0.1,
  lambda0 = 5,
  delta1 = 1,
  delta0 = 0,
  ratio = 1,
  power = "marginal",
  stopping = "simultaneous",
  type = "variable",
  spacing = (1:length(e))/length(e),
  summary = FALSE
)
| n10 | A  | 
| n1 | A  | 
| e | A  | 
| f | A  | 
| K | A  | 
| alpha | A  | 
| beta | A  | 
| lambda0 | A  | 
| delta1 | A  | 
| delta0 | A  | 
| ratio | A  | 
| power | A  | 
| stopping | A  | 
| type | A  | 
| spacing | A  | 
| summary | A  | 
A list, with additional class
"multiarm_des_gs_pois", containing the following elements:
 A tibble in the slot $opchar summarising the
operating characteristics of the identified design.
 A tibble in the slot $pmf_N summarising the
probability mass function of the random required sample size under key
scenarios.
 A numeric in the slot $maxN specifying
max N, the trial's maximum required
sample size.
 A numeric in the slot $n_factor, for internal use
in other functions.
Each of the input variables.
des_gs_pois, gui,
opchar_gs_pois, plot.multiarm_des_gs_pois,
sim_gs_pois.
# The design for the default parameters
des <- build_gs_pois()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.