Computes the optimal sample size for various 2group designs (e.g., when comparing the means of two groups assuming equal variances, unequal variances, or comparing proportions) when the aim is to maximize the rewards over the full decision procedure of a) running a trial (with the computed sample size), and b) subsequently administering the winning treatment to the remaining Nn units in the population. Sample sizes and expected rewards for standard t and z tests are also provided.
Package details 


Maintainer  
License  GPL3 
Version  0.1.0 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.