Compute local Simes p-value for a Vector of Child p-values
local_simes.RdGiven \(k\) child p-values, computes the Simes p-value \(\min_{i=1\ldots k} \{ (k/i) * p_{(i)} \}\), where \(p_{(1)} \le \ldots \le p_{(k)}\).
Examples
local_simes(c(0.01, 0.04, 0.10, 0.20))
#> [1] 0.04