# NOT RUN {
# }
# NOT RUN {
p0 <- c(.01,.05,.1,.2,.35,0.45) # Skeleton of CRM
L <- log(15.09) # Threshold set
doses <- c(12.59972,34.65492,44.69007,60.80685,83.68946,100.37111)
theta <- 0.2
options <- list(nchains = 2, niter = 4000, nadapt = 0.8)
AUCs <- c(0.43, 1.4, 5.98, 7.98, 11.90, 3.45)
x <- c(1,2,3,4,5,6)
y <- c(FALSE,FALSE,FALSE,FALSE,TRUE,FALSE)
res <- pkcrm(y, AUCs, doses, x, theta, p0, L, options = options)
# }
Run the code above in your browser using DataLab