I have a list:
L <- c("a","b","c","d","e")
I also have a subset of this list:
L1 <- c("b","d","e")
I am trying to create a new list that does not contain the subset list.
I have tried:
L[L!%in%L1]
L[L%in%!L1]
L[L%in%-L1]
but this does not work. I would be grateful for your help.