%pin% | R Documentation |
Analogue of %in%
but indicating partial match of the left operand.
x %pin% Y
x |
The values to be matched. Same as |
Y |
A vector of values (perl regular expressions) to be matched against. |
TRUE
for every x
for which any grepl
is TRUE
.
x <- c("Sydney Airport", "Melbourne Airport") x %pin% c("Syd", "Melb")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.