[R] gsDesign

Marc Schwartz marc_schwartz at me.com
Mon Nov 14 23:50:43 CET 2011

On Nov 14, 2011, at 4:11 PM, Dongli Zhou wrote:

> I'm trying to use gsDesign for a noninferiority trial with binary
> endpoint. Did anyone know how to specify the trial with different sample
> sizes for two treatment groups? Thanks in advance!


Presuming that you are using the nBinomial() function, see the 'ratio' argument, which defines the desired sample size ratio between the two groups.

See ?nBinomial and the examples there, which does include one using the 'ratio' argument.


Marc Schwartz

More information about the R-help mailing list