difference two vectors 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)