powered by
Pooled Analysis
weights_pool(design, ...)# S4 method for OneStageBasket weights_pool(design, n, ...)# S4 method for OneStageBasket weights_pool(design, n, ...)# S4 method for TwoStageBasket weights_pool(design, n, n1, ...)
# S4 method for OneStageBasket weights_pool(design, n, ...)
# S4 method for TwoStageBasket weights_pool(design, n, n1, ...)
A weight matrix where all weights are 1.
An object of class Basket created by setupOneStageBasket or setupTwoStageBasket.
Basket
setupOneStageBasket
setupTwoStageBasket
Further arguments.
The sample size per basket.
The sample size per basket for the interim analysis in case of a two-stage design.
weights_pool(OneStageBasket): Pooled analysis for a single-stage basket design
weights_pool(OneStageBasket)
weights_pool(TwoStageBasket): Pooled analysis for a two-stage basket design
weights_pool(TwoStageBasket)
When weights_pool is used as a weight function, all data are pooled.
weights_pool
design <- setupOneStageBasket(k = 3, p0 = 0.2) toer(design, n = 15, lambda = 0.99, weight_fun = weights_pool)
Run the code above in your browser using DataLab