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!


Hi,

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.

HTH,

Marc Schwartz

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to