View source: R/sdminp_calculation.R
find_rank | R Documentation |
find_rank is used by sdminp_fdr to speed up the calculation
find_rank(target, ruler)
target |
a decreacing-sorted vector for measure by the ruler |
ruler |
has the same length as target, also a decreasing-sorted vector |
a numerica vector, with each element i shows the numbers of values in the target that is bigger than the ruler[i]
a=c(8,6,4,2) b=c(7,4,3,1) find_rank(a,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.