sim_ss_bern | R Documentation |
sim_ss_bern()
determines the operating characteristics of a specified
single-stage multi-arm clinical trial design assuming the primary outcome is
Bernoulli distributed, for given values of the true treatment effects, using
simulation.
sim_ss_bern(
des = des_ss_bern(integer = TRUE),
pi,
replicates = 1e+05,
summary = FALSE
)
des |
A |
pi |
A |
replicates |
A |
summary |
A |
A list
containing the following elements
A tibble
in the slot $sim
giving the estimated
operating characteristics.
Each of the input variables.
build_ss_bern
, des_ss_bern
,
opchar_ss_bern
, plot.multiarm_des_ss_bern
.
## Not run:
# The estimated operating characteristics for the default parameters
sim <- sim_ss_bern()
# An A-optimal design, specifying tau explicitly
des_A <- des_ss_bern(ratio = "A", integer = T)
sim_A <- sim_ss_bern(des_A, rbind(c(0, 0),
c(0.5, 0.5),
c(0.5, 0),
c(0, 0.5)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.