Description Usage Arguments Examples
indicating if there is a mismatch (TRUE) or a match (FALSE). In other words, it returns TRUE for the values in the first vector but not in the second.
1 |
x |
vector or NULL: the values to be matched. |
y |
vector or NULL: the values to be matched against. |
1 2 3 4 | x = 1:6
y = 4:10
x %nin% y # which values of x are not in y?
# TRUE TRUE TRUE FALSE FALSE FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.