I want to know the exact elements of a vector not found in the vector. For instance, consider the following vectors:
veca <- c("ab", "cd", "ef", "gh", "ij", "kl")
vecb <- c("ab", "ef", "ij", "kl")
From this, cd and gh are in veca but not in vecb. How can one identify these elements in R? Thanks!