find difference two vector in r code example
Example: r find difference between two vectors
# setdiff gives the the difference of the 1st compared to the second.
setdiff(b,a)
# setdiff gives the the difference of the 1st compared to the second.
setdiff(b,a)