Description Usage Arguments Details
These are a couple of mostly self-explanatory wrappers around %in%
.
1 2 3 4 5 6 7 8 9 | x %nin% y
x %kin% y
x %knin% y
x %drop% y
x %keep% y
|
x |
Vector or |
y |
Vector or |
%nin%
returns a logical vector indicating if there is
no match for its left operand. It is the inverse of x %in% y
.
%kin%
returns the actual values of x
for which
x %in% y
.
%knin%
returns the actual values of x
for which
x %nin% y
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.