Description Usage Arguments Value Examples
A wrapper around grepl function (with default settings) performing an OR operation for matches of all the elements of the regexpr_vector elements (i.e. matching to one element is sufficient for the value to be set to TRUE for that position)
1 | .verifySimpleConditions(regexpr_vector, x)
|
regexpr_vector |
Vector with regular expressions (to be used by grepl) |
x |
Character string to be checked for matches to regular expressions |
A logical vector with TRUE at positions where there was a match to at least one of the reqular expressions (OR operation)
1 | # .verifySimpleConditions("^m$", c("m", "mm", "cm", "M"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.