get_details.mmlglobal {basksim} | R Documentation |
Get Details of a Basket Trial Simulation with the Global MML Design
Description
Get Details of a Basket Trial Simulation with the Global MML Design
Usage
## S3 method for class 'mmlglobal'
get_details(
design,
n,
p1 = NULL,
lambda,
level = 0.95,
iter = 1000,
data = NULL,
...
)
Arguments
design |
An object of class |
n |
The sample size per basket. |
p1 |
Probabilities used for the simulation. If |
lambda |
The posterior probability threshold. |
level |
Level of the credibility intervals. |
iter |
The number of iterations in the simulation. Is ignored if
|
data |
A data matrix with k column with the number of responses for each
basket. Has to be generated with |
... |
Further arguments. |
Value
A list containing the rejection probabilites, posterior means, mean squared errors and mean limits of HDI intervals for all baskets as well as the family-wise error rate.
Examples
design <- setup_mmlglobal(k = 3, p0 = 0.2)
get_details(design = design, n = 20, p1 = 0.5, lambda = 0.95, iter = 100)
[Package basksim version 1.0.0 Index]