powered by
Retrieve the index of the optimal probability threshold.
optimal(x)
The integer index of the optimal probability threshold.
An object of class "bayefdr".
probs <- runif(100) e <- efdr_search(probs, target_efdr = 0.1) optimal(e) e[optimal(e), ]
Run the code above in your browser using DataLab