# NOT RUN {
## For 2 arms
# }
# NOT RUN {
shape <- 1
m0 <- 1
ms <- 2.4
tf <- 3
ta <- 24
tot_size <- 19
dist <- "WB"
optimal(shape = shape, m0 = m0, ms = ms, tf = tf,
ta = ta, tot_size = tot_size, dist = dist)
# }
# NOT RUN {
## For 3 arms
# }
# NOT RUN {
shape <- 1
m0 <- 1
ms <- 2
tf <- 3
ta <- 24
tot_size <- 21
dist <- "WB"
optimal(shape = shape, m0 = m0, ms = ms, tf = tf,
ta = ta, tot_size = tot_size, dist = dist)
# }
Run the code above in your browser using DataLab