[R] gsDesign
Dongli Zhou
dongli.zhou at gmail.com
Tue Nov 15 00:13:12 CET 2011
Hi, Marc,
Thank you very much for the reply. I'm using the gsDesign function to create an object of type gsDesign. But the inputs do not include the 'ratio' argument.
Dongli
On Nov 14, 2011, at 5:50 PM, Marc Schwartz <marc_schwartz at me.com> wrote:
> 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
>
More information about the R-help
mailing list