tests/testthat/test_by_block.R

test_by_block <- function(r, eVec, groupSize, Sigma)
    {
        eSub <- eVec[(groupSize*r + 1 - groupSize):(groupSize*r)]
        test <- as.vector(rmvn(1, eSub, Sigma, ncores = 15))
        return(test)
    }
mshasan/OPWpaper documentation built on March 3, 2021, 7:02 a.m.