I\'m working with two \'lists\' or vectors in R, and I need to find out the number of unique elements in both, together.
I tried doing length(summary(merge(v1, v2
length(summary(merge(v1, v2
You can use unlist with union
unlist(union(a,b))