| locate | R Documentation |
Position of the first pattern match
locate(x, pattern, fixed = FALSE)
x |
An atomic vector. |
pattern |
A regular expression (or fixed string when |
fixed |
Use fixed (non-regex) matching instead of regular expressions. |
An integer vector of match positions (see regexpr()).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.