The %in% function (see also match()) takes a vector of elements and matches against another vector, returning the indices of the positions in the second vector at which the match occurs.
Last modified 12/13/08.