design <- setupTwoStageBasket(k = 3, p0 = 0.2)
toer(design, n = 20, n1 = 10, lambda = 0.99, weight_fun = weights_fujikawa,
interim_fun = interim_posterior, interim_params = list(prob_futstop = 0.05,
prob_effstop = 0.95))
Run the code above in your browser using DataLab