%partin% | R Documentation |
%in%
.A simple extension of %in%
.
pattern %partin% vector
pattern |
Character string containing regular expressions to be matched. |
vector |
Character vector. |
TRUE
or FALSE
.
%in%
,
%allin%
,
%anyin%
,
%nonein%
"Bei" %partin% c("Beijing", "Shanghai") # TRUE
"bei" %partin% c("Beijing", "Shanghai") # FALSE
"[aeiou]ng" %partin% c("Beijing", "Shanghai") # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.