Skip to contents

Intersection of more than two vectors

Usage

intersectAll(object, ...)

# S4 method for list
intersectAll(object)

Arguments

object

Object.

...

Additional arguments.

Value

vector.

Note

Updated 2020-08-18.

Examples

object <- list(
    a = c("a", "b", "c", "d", "e", "f"),
    b = c("b", "c", "d", "e", "f", "g"),
    c = c("c", "d", "e", "f", "g", "h")
)
intersectAll(object)
#> [1] "c" "d" "e" "f"