Description Usage Arguments Value Examples
double.regex
takes in two characters and determines if either is a subset of the other. This function uses
grepl so multiple instances will catch.
1 | double.regex(a, b, ignore.case = FALSE)
|
a, b |
character vectors of length 1 |
ignore.case |
if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching. |
Returns a logical of length 1
1 2 3 | double.regex("apples","oranges")
double.regex("SUP WICHU GIRL","WICHU")
double.regex("My name is Inigo Montoya...","MONTOYA",ignore.case=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.