%nin% | R Documentation |
Returns a logical vector of elements of x that are not in y.
x %nin% table
x |
a vector (numeric, character, factor) |
table |
a vector (numeric, character, factor), matching the mode of x |
A logical vector with length equal to x
of things in x
that aren't in y
.
%like%
, %nlike%
, %nin%
,
1:10 %nin% seq(from=2, to=10, by=2)
c("a", "b", "c") %nin% c("a", "b")
letters[letters %nin% unlist(strsplit("pack my box with five dozen liquor jugs", ""))]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.