GroupSequentialDesign-class | R Documentation |
Group-sequential designs are a sub-class of the TwoStageDesign
class with constant stage-two sample size.
See TwoStageDesign
for slot details.
Any group-sequential design can be converted to a fully flexible
TwoStageDesign
(see examples section).
GroupSequentialDesign(n1, ...)
## S4 method for signature 'numeric'
GroupSequentialDesign(
n1,
c1f,
c1e,
n2_pivots,
c2_pivots,
order = NULL,
event_rate,
...
)
## S4 method for signature 'GroupSequentialDesign'
TwoStageDesign(n1, event_rate, ...)
## S4 method for signature 'GroupSequentialDesignSurvival'
TwoStageDesign(n1, ...)
n1 |
stage one sample size or |
... |
further optional arguments |
c1f |
early futility stopping boundary |
c1e |
early efficacy stopping boundary |
n2_pivots |
numeric of length one, stage-two sample size |
c2_pivots |
numeric vector, stage-two critical values on the integration pivot points |
order |
of the Gaussian quadrature rule to use for integration, set to length(c2_pivots) if NULL, otherwise first value of c2_pivots is repeated 'order'-times. |
event_rate |
probability that a subject in either group will eventually have an event, only needs to be specified for time-to-event endpoints. |
TwoStageDesign
for superclass and inherited methods
design <- GroupSequentialDesign(25, 0, 2, 25, c(1, 1.5, 2.5))
summary(design)
design_survival <- GroupSequentialDesign(25, 0, 2, 25, c(1, 1.5, 2.5), event_rate = 0.7)
TwoStageDesign(design)
TwoStageDesign(design_survival)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.