EFDR.Rd
Function to calculate the corresponding expected False discovery rate (eFDR) for a given threshold
EFDR(prob, threshold = 0.9)
A numeric vector of probabilities
A numeric value between 0 and 1
A numeric value indicating the expected FDR
EFDR(c(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1), 0.9)
#> [1] 0.05