safeMatch | R Documentation |
While match
returns an NA if no match is found, this function will throw an error
safeMatch (x, ...)
x |
string to be matched, will be passed on as first argument to match |
... |
passed on to match |
safeMatch("oranges", c("apples", "oranges") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.