Description Usage Arguments Value Examples
Retrieve the index of the optimal probability threshold.
1 | optimal(x)
|
x |
An object of class "bayefdr". |
The integer index of the optimal probability threshold.
1 2 3 4 | probs <- runif(100)
e <- efdr_search(probs, target_efdr = 0.1)
optimal(e)
e[optimal(e), ]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.