overlap: Count Elements in Overlap between two Lists

Description Usage Arguments Value Author(s)

View source: R/OrderedList.R

Description

For each rank up to a given limit, count the number of elements in the overlap between two lists.

Usage

1
overlap(x1, x2, n)

Arguments

x1,x2

ordered lists

n

the largest rank to be considered

Value

Returns a vector of integers. The i-th element gives the number of common elements in the first i positions of both lists.

Author(s)

Claudio Lottaz


OrderedList documentation built on Nov. 1, 2018, 2:26 a.m.