## Consider a 3x5 drug combination trial with 3 doses of agent A and
## 5 doses of agent B. The goal is to find the MTD with a target toxicity
## rate of 0.3 with the maximum sample size of 40 patients in cohort size
## of 1. A total of 1,000 trials are simulated. p.true is a 3x5 matrix
## containing the true toxicity probablities of dose combinations
p.true = matrix(c(0.05,0.10,0.15,0.30,0.45,0.10,0.15,0.30,0.45,0.55,
0.15,0.30,0.45,0.50,0.60), ncol=5, byrow=TRUE)
get.oc.comb(target=0.3, p.true, ncohort=40, cohortsize=1, ntrial=1000)
Run the code above in your browser using DataLab