View source: R/build_dtl_pois.R
build_dtl_pois | R Documentation |
build_dtl_pois()
builds a multi-stage drop-the-losers multi-arm
clinical trial design object assuming the primary outcome variable is
Poisson distributed, like those returned by des_dtl_pois
.
build_dtl_pois(
n1 = 210,
n10 = 70,
e = 2.17,
Kv = c(2, 1),
alpha = 0.025,
beta = 0.1,
lambda0 = 5,
delta1 = 1,
delta0 = 0,
ratio = 1,
power = "marginal",
type = "variable",
summary = FALSE
)
n1 |
A |
n10 |
A |
e |
A |
Kv |
A |
alpha |
A |
beta |
A |
lambda0 |
A |
delta1 |
A |
delta0 |
A |
ratio |
A |
power |
A |
type |
A |
summary |
A |
A list
, with additional class
"multiarm_des_dtl_pois"
, containing the following elements:
A tibble
in the slot $opchar
summarising the
operating characteristics of the identified design.
A numeric
in the slot $maxN
specifying
N, the trial's total required sample
size.
A numeric
in the slot $n_factor
, for internal use
in other functions.
Each of the input variables.
des_dtl_pois
, gui
,
opchar_dtl_pois
, plot.multiarm_des_dtl_pois
,
sim_dtl_pois
.
# The design for the default parameters
des <- build_dtl_pois()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.