Мы можем использовать Filter
Filter(function(x) !all(c(7, 10) %in% x), combination)
#[[1]]
#[1] 10 3 10 15
#[[2]]
#[1] 10 10 5 15
Другие варианты могут быть:
2) Использование sapply
combination[sapply(combination, function(x) !all(c(7, 10) %in% x))]
3) Использование purrr::discard
purrr::discard(combination, ~all(c(7, 10) %in% .x))
4) Использование purrr::keep
purrr::keep(combination, ~!all(c(7, 10) %in% .x))
data
combination <- list(c(1, 10, 7, 15), c(1, 10, 7, 15), c(10, 3, 10, 15),
c(10 , 3 , 7, 15), c(10, 10, 5, 15))