# NOT RUN {
## Compute the response rate posterior distributioni
## of each subgroup using the BaCIS method
# }
# NOT RUN {
library(bacistool)
result<-bacisSubgroupPosterior(numGroup=5,
tau1=NA,
tau2=.001,
phi1=0.1, phi2=0.3,
tau4=0.1,
alpha=50,
beta=20,
clusterCutoff=NA,
MCNum=5000,
nDat=c(25,25,25,25,25),
xDat=c(3,4,3,8,7))
# }
Run the code above in your browser using DataLab