A set of R functions for calculating sample size requirements using three different Bayesian criteria in the context of designing an experiment to estimate the difference between two binomial proportions. Functions for calculation of required sample sizes for the Average Length Criterion, the Average Coverage Criterion and the Worst Outcome Criterion in the context of binomial observations are provided. In all cases, estimation of the difference between two binomial proportions is considered. Functions for both the fully Bayesian and the mixed Bayesian/likelihood approaches are provided.
Package details 


Author  Lawrence Joseph <lawrence.joseph@mcgill.ca>, Roxane du Berger and Patrick Belisle <pbelisle@epimgh.mcgill.ca> 
Maintainer  Lawrence Joseph <lawrence.joseph@mcgill.ca> 
License  GPL (>= 2) 
Version  1.0 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.