%cn% | R Documentation |
Matches partial values, such as substrings.
x %cn% pattern
x |
the character vector to be matched. Missing values are permitted. |
pattern |
the pattern to be matched against, may be a regular expression. |
A vector the same length as x
of logical values indicating
whether pattern
is found in the element of x
or not.
%in%
, regexpr
## A simple example c("abc", "def") %cn% "c"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.