find_2d {csmGmm} | R Documentation |
Tells if row x if allTestStats is an incongruous result (has a higher lfdr than a set of test statistics with lower magnitudes). For K=2 case.
Description
Tells if row x if allTestStats is an incongruous result (has a higher lfdr than a set of test statistics with lower magnitudes). For K=2 case.
Usage
find_2d(x, allTestStats)
Arguments
x |
Scalar, which row of allTestStats to check. |
allTestStats |
J*K vector of all test statistics. |
Value
A scalar denoting the number of sets with lower lfdr and test statistics of lower magnitude. 0 means congruous result.
Examples
zMatrix <- cbind(rnorm(10^4), rnorm(10^4))
find_2d(x = 5, allTestStats = zMatrix)
[Package csmGmm version 0.3.0 Index]