| %nlike% | R Documentation |
Returns a logical vector of elements of x not matching the regex y.
x %nlike% pattern
x |
a vector (numeric, character, factor) |
pattern |
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 like y.
%like%, %nlike%, %nin%,
(Name <- c("Mary","George","Martha"))
Name %in% c("Mary")
Name %like% "^Mar"
Name %nin% c("George")
Name %nlike% "^Mar"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.