Description Usage Arguments Value See Also Examples
%in%
returns logical vector indicating values that do not have a match.
%inx%
returns a vector of the values that have a match.
%notinx%
returns a vector of the values that do not have a match.
1 2 3 4 5 | x %notin% y
x %inx% y
x %notinx% y
|
x |
vector or NULL: the values to be matched. Long vectors are supported. |
y |
vector or NULL: the values to be matched against. Long vectors are not supported. |
%notin%
A logical vector, indicating if a match was not located for each element of x
: thus the values are TRUE or FALSE and never NA.
%inx%
returns a sub-vector of x
with the values that were found in y
.
%notinx%
returns a sub-vector of x
with the values that were not found in y
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.