get_results | R Documentation |
Get Results for Simulation of Basket Trial Designs
get_results(design, ...)
design |
An object created with one of the |
... |
Further arguments. |
A matrix of results with iter
rows. A 0 means, that the
null hypothesis that the response probability exceeds p0
was not
rejected, a 1 means, that the null hypothesis was rejected.
# Example for a basket trial with Fujikawa's Design
design <- setup_fujikawa(k = 3, p0 = 0.2)
get_results(design = design, n = 20, p1 = c(0.2, 0.5, 0.5), lambda = 0.95,
epsilon = 2, tau = 0, iter = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.