Description Usage Arguments Details Value Author(s) See Also Examples
Duh.
1 | x %out% y
|
x |
vector or NULL: the values to be matched. |
y |
vector or NULL: the values to be matched. |
That %out% never returns NA makes it particularly useful in if conditions.
A logical vector of the same length as x, indicating if a match was located for each element of x: thus the values are TRUE or FALSE and never NA.
Antoine Filipovic Pierucci
match. pmatch and charmatch for (partial) string matching, match.arg, etc for function argument matching. findInterval similarly returns a vector of positions, but finds numbers within intervals, rather than exact matches.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.