## Removing sublists that contain certain elements of a matrix

Consider the matrix:
badcombos
[,1] [,2]
[1,] "Red" "Yellow"
[2,] "Green" "Yellow"
[3,] "Orange" "Yellow"
[4,] "Blue" "Green"
[5,] "Blue" "Purple"
Then, the list:
allcombos
[[1]]
[1] "Red" "Green" "Orange" "Pink" "Purple"
[[2]...

more
»