View source: R/opchar_ss_pois.R
opchar_ss_pois | R Documentation |
opchar_ss_pois()
determines the operating characteristics of a
specified single-stage multi-arm clinical trial design assuming the primary
outcome variable is Poisson distributed, for given values of the true
treatment effects, using multivariate normal integration.
opchar_ss_pois(des = des_ss_pois(), lambda, summary = FALSE)
des |
A |
lambda |
A |
summary |
A |
A list
containing the following elements
A tibble
in the slot $opchar
giving the determined
operating characteristics.
Each of the input variables.
build_ss_pois
, des_ss_pois
,
plot.multiarm_des_ss_pois
, sim_ss_pois
.
# The operating characteristics for the default parameters
opchar <- opchar_ss_pois()
# An A-optimal design
des_A <- des_ss_pois(ratio = "A")
opchar_A <- opchar_ss_pois(des_A)
# Using the root-K allocation rule, modifying the desired type of power and
# chosen multiple comparison correction, and specifying lambda explicitly
des_root_K <- des_ss_pois(ratio = rep(1/sqrt(2), 2),
correction = "holm_bonferroni",
power = "disjunctive")
opchar_root_K <- opchar_ss_pois(des_root_K, rbind(c(0.3, 0.3, 0.3),
c(0.3, 0.5, 0.5),
c(0.3, 0.5, 0.3),
c(0.3, 0.3, 0.5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.