tests/testthat/test_ranksProb_byEffect.R

#===============================================================================

ranksProb_byEffect <- function(i, null, m, nrep = 10000, filterEffectVec)
{
    ey <- filterEffectVec[i]
    et <- ey
    m0 <- ceiling(m*null)
    m1 <- m - m0
    rankProbsH1 <- sapply(1:m, prob_rank_givenEffect, et = ey, ey = ey,
                          nrep = nrep, m0 = m0, m1 = m1)
    return(rankProbsH1)
}
mshasan/OPWpaper1 documentation built on Feb. 22, 2021, 10:22 a.m.