Get all combinations of the values in vectors x and y that are not already there.

get_other_combs(x, y)

Arguments

x, y

two vectors

Value

data.frame of other possible combinations stored in Var1 and Var2 for x and y, respectively

Examples

get_other_combs(LETTERS[1:2], LETTERS[1:2])
#> Var1 Var2 #> 1 B A #> 2 A B