get_scenarios | R Documentation |
Creates a default scenario matrix.
get_scenarios(design, p1)
design |
An object of class |
p1 |
Probabilitiy under the alternative hypothesis. |
get_scenarios
creates a default scenario matrix
that can be used for opt_design
. The function creates
k + 1
scenarios, from a global null to a global alternative scenario.
A matrix with k
rows and k + 1
columns.
design <- setupOneStageBasket(k = 3, p0 = 0.2)
get_scenarios(design = design, p1 = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.