overlap {OrderedList} | R Documentation |
For each rank up to a given limit, count the number of elements in the overlap between two lists.
overlap(x1, x2, n)
x1,x2 |
ordered lists |
n |
the largest rank to be considered |
Returns a vector of integers. The i-th element gives the number of common elements in the first i positions of both lists.
Claudio Lottaz