Intersect function and setdiff function:
The intersect function rather than returns all the values which can be found in both of the input argument vectors.
The setdiff function receives two vectors as input arguments, and returns a vector having all the values which are contained in the first vector argument but not in the second. And hence, the order of the two input arguments is very important.
2 4 6