Description Usage Arguments Details Value Author(s) See Also
%in_dbl%
is an intuitive interface analogous to
%in%
as binary operator, which returns a logical vector indicating
if there is a match or not for its left operand
1 | x %in_dbl% table
|
x |
A numeric vector with the values to be matched. |
table |
A numeric vector with the values to be matched against. |
%in_dbl%
is defined as
`%in_dbl%` <- function(x, table) match_dbl(x, table, nomatch = 0) > 0
A vector of the same length as x. A logical vector, indicating if a match was located for each element of x: thus the values are TRUE or FALSE and never NA.
Dominik Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.