Description Usage Arguments See Also Examples
Sets the parameters for a given "simon"-object.
1 | setSimonParams(s, alpha = 0.05, beta = 0.05, p0 = 0.1, p1 = 0.3)
|
s |
a "simon"-object which is generated by the function |
alpha |
the maximal type I error rate. |
beta |
the maximal type II error rate. |
p0 |
the response probability under the null hypothesis. |
p1 |
the response probability under the alternative hypothesis. |
1 2 3 4 5 6 7 | #Create "simon"-object.
simon <- setupSimon()
#Change parameters.
setSimonParams(simon, alpha = 0.1, beta = 0.2, p0 = 0.25, p1 = 0.45)
#Calculate designs for the given "simon"-object.
designs <- getSolutions(simon)$Solutions
designs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.