weights_separate {baskexact}  R Documentation 
Separate Analysis in Each Basket
Description
Separate Analysis in Each Basket
Usage
weights_separate(design, ...)
## S4 method for signature 'OneStageBasket'
weights_separate(design, n, ...)
## S4 method for signature 'TwoStageBasket'
weights_separate(design, n, n1, ...)
Arguments
design 
An object of class 
... 
Further arguments. 
n 
The sample size per basket. 
n1 
The sample size per basket for the interim analysis in case of a twostage design. 
Details
When weights_separate
is used as a weight function, a
separate analysis performed in each basket.
Value
A weight matrix where all weights are 0.
Methods (by class)

weights_separate(OneStageBasket)
: Separate analysis for a singlestage basket design 
weights_separate(TwoStageBasket)
: Separate analysis for a twostage basket design
Examples
design < setupOneStageBasket(k = 3, p0 = 0.2)
toer(design, n = 15, lambda = 0.99, weight_fun = weights_separate)
[Package baskexact version 1.0.1 Index]