# NOT RUN {
# Drug dataset example with treatment as the variables of interest
data(drugDat);
drug.elrm = elrm(formula=recovered/n~sex+treatment, interest=~treatment, r=4,
iter=2000, burnIn=100, dataset=drugDat);
# Plot the sampled values of the sufficient statistic for the parameter(s) of
# interest
plot(drug.elrm,p=0.10,ask=TRUE);
# }
Run the code above in your browser using DataLab