Description Usage Arguments Value
Extrect the sub strings by offering a pattern, which can be regular expression in R.
1 |
pattern |
A string or regular expression. The same parameter in function gregexpr. |
text |
A character vector to be extract sub string. |
... |
Other parameters of function gregexpr. |
A character vector when offering a single text, or a list containing the matched sub strings of each texts. If each texts has the same number of matched sub strings, it would be a multi-demantion vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.