A simple question, but did not find it in stackoverflow. Is there a function to find all non-identical values:
x <- c("a","b","c","d") y <- c("a","f","g","c","d")
the result should be:
res <- c("b","f","g")
All functions work only for one vector. setdiff() etc.
source share