intersection {CDSeq}R Documentation

intersection take intersection of multiple lists and return the common set and index

Description

intersection take intersection of multiple lists and return the common set and index

Usage

intersection(list.vector, order = "sort")

Arguments

list.vector

this is a list of list contain all the data.

order

this is either sort or stable. If choose sort, the output common value will be sorted. If choose stable, the output common value will be in the same order as appear in the first element in list.vector.

Value

The common values among lists and their indices. intersection function: input: list.vector is a list of list contain all the data for example, if we need to find the common elements of a, b, c, then input should be list(a,b,c)


[Package CDSeq version 1.0.8 Index]