xyboth {CUFF} | R Documentation |
Function %xyb% or xyboth(x, y) shows index present in x, y and both
x %xyb% y
xyboth(x, y)
x |
vector(matrix/dataframe) of indices |
y |
vector(matrix/dataframe) of indices |
Returns a list with indices present only in x and y and in both.
Charles-Édouard Giguère
require(CUFF)
xyboth(1:5, 3:6)
### $x
### [1] "1" "2"
###
### $y
### [1] "6"
###
### $both
### [1] "3" "4" "5"