Get all combinations of the values in vectors x and y that are not already there.
get_other_combs(x, y)
x, y | two vectors |
---|
data.frame of other possible combinations stored in Var1
and
Var2
for x
and y
, respectively
get_other_combs(LETTERS[1:2], LETTERS[1:2])#> Var1 Var2 #> 1 B A #> 2 A B