powered by
Get the overlap between 2 vectors
txt_overlap(x, y)
a vector with elements of x which are also found in y
x
y
a vector
x <- c("a", "b", "c") y <- c("b", "c", "e", "z") txt_overlap(x, y) txt_overlap(y, x)
Run the code above in your browser using DataLab