Description Usage Arguments Details See Also Examples
Extends the functionality of match to identify
all matching values, instead of just the first one.
1 |
x |
A vector. |
table |
The lookup table as a vector. |
Returns an integer vector of the index in table for all
the matches. The result is not sorted in numerical index order when
more than one value is sought to be matched.
Instead, the matches of the first value in x are listed first,
followed by matches to the second value in x and so on.
Values of NA are treated as data.
1 2 3 |
[1] 3 4 8
[1] 3 5 4 10 8
[1] 1 4 6 10 5 11 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.