# NOT RUN {
data('dat.Eletriptan')
## Create the dataset suitable for MBMA_stan
EletriptanDat <- create_MetaStan_dat(dat = dat.Eletriptan,
armVars = c(dose = "d",
responders = "r",
sampleSize = "n"),
nArmsVar = 'nd')
## Check that the data are correct
print(EletriptanDat)
# }
Run the code above in your browser using DataLab