Hi Dongli, Questions about usage of specific contributed packages are best directed toward the package maintainer/author first, as they are likely the best sources of information, and they don't necessarily subscribe to or keep up with the daily deluge of R-help messages.
(In this particular case, I'm quite sure the package maintainer for gsDesign doesn't keep up with R-help.) Best, Andy > -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Dongli Zhou > Sent: Monday, November 14, 2011 6:13 PM > To: Marc Schwartz > Cc: r-help@r-project.org > Subject: Re: [R] gsDesign > > 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_schwa...@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 > > > > ______________________________________________ > 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. > Notice: This e-mail message, together with any attachme...{{dropped:11}} ______________________________________________ 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.