match_arg | R Documentation |
See strex::match_arg()
.
match_arg( arg, choices = NULL, index = FALSE, several_ok = FALSE, ignore_case = FALSE ) str_match_arg( arg, choices = NULL, index = FALSE, several_ok = FALSE, ignore_case = FALSE )
arg |
A character vector (of length one unless |
choices |
A character vector of candidate values. |
index |
Return the index of the match rather than the match itself? |
several_ok |
Allow |
ignore_case |
Ignore case while matching. If this is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.