View source: R/get_scenarios.R
| get_scenarios | R Documentation |
This functions generates a matrix of k+1 default outcome scenarios,
ranging from no responsive strata (global null scenarios) to all responsive
strata (global alternative scenario). It is a wrapper of the function
basksim::get_scenarios.
get_scenarios(design, p1)
design |
An object created with one of the |
p1 |
Probability under the alternative hypothesis. |
No backend switching is implemented in this function because
baskexact::get_scenarios() does precisely the same thing as
basksim::get_scenarios().
A matrix with k rows and k + 1 columns.
# Example for a basket trial with Fujikawa's Design
design <- setup_fujikawa_x(k = 3, p0 = 0.2)
get_scenarios(design, p1 = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.