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